part of 'otp_bloc.dart';

abstract class OtpState extends Equatable {
  const OtpState();

  @override
  List<Object> get props => [];
}

class OtpInitial extends OtpState {}

class OtpLoading extends OtpState {}

class OtpSuccces extends OtpState {}

class OtpFailure extends OtpState {
  final String error;

  const OtpFailure({@required this.error});

  @override
  List<Object> get props => [error];

  @override
  String toString() => 'OtpFailure { error: $error }';
}
