// GENERATED CODE - DO NOT MODIFY BY HAND
// coverage:ignore-file
// ignore_for_file: type=lint
// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark

part of 'verify_otp_bloc.dart';

// **************************************************************************
// FreezedGenerator
// **************************************************************************

// dart format off
T _$identity<T>(T value) => value;
/// @nodoc
mixin _$VerifyOtpEvent {





@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is VerifyOtpEvent);
}


@override
int get hashCode => runtimeType.hashCode;

@override
String toString() {
  return 'VerifyOtpEvent()';
}


}

/// @nodoc
class $VerifyOtpEventCopyWith<$Res>  {
$VerifyOtpEventCopyWith(VerifyOtpEvent _, $Res Function(VerifyOtpEvent) __);
}


/// Adds pattern-matching-related methods to [VerifyOtpEvent].
extension VerifyOtpEventPatterns on VerifyOtpEvent {
/// A variant of `map` that fallback to returning `orElse`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case _:
///     return orElse();
/// }
/// ```

@optionalTypeArgs TResult maybeMap<TResult extends Object?>({TResult Function( _Started value)?  started,TResult Function( _CancelTimer value)?  cancelTimer,TResult Function( _ResendRegister value)?  resendRegister,TResult Function( _ResendForgot value)?  resendForgot,TResult Function( _Ticked value)?  ticked,TResult Function( _VerifyOtpReset value)?  verifyOtpReset,TResult Function( _VerifyOtpRegister value)?  verifyOtpRegister,required TResult orElse(),}){
final _that = this;
switch (_that) {
case _Started() when started != null:
return started(_that);case _CancelTimer() when cancelTimer != null:
return cancelTimer(_that);case _ResendRegister() when resendRegister != null:
return resendRegister(_that);case _ResendForgot() when resendForgot != null:
return resendForgot(_that);case _Ticked() when ticked != null:
return ticked(_that);case _VerifyOtpReset() when verifyOtpReset != null:
return verifyOtpReset(_that);case _VerifyOtpRegister() when verifyOtpRegister != null:
return verifyOtpRegister(_that);case _:
  return orElse();

}
}
/// A `switch`-like method, using callbacks.
///
/// Callbacks receives the raw object, upcasted.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case final Subclass2 value:
///     return ...;
/// }
/// ```

@optionalTypeArgs TResult map<TResult extends Object?>({required TResult Function( _Started value)  started,required TResult Function( _CancelTimer value)  cancelTimer,required TResult Function( _ResendRegister value)  resendRegister,required TResult Function( _ResendForgot value)  resendForgot,required TResult Function( _Ticked value)  ticked,required TResult Function( _VerifyOtpReset value)  verifyOtpReset,required TResult Function( _VerifyOtpRegister value)  verifyOtpRegister,}){
final _that = this;
switch (_that) {
case _Started():
return started(_that);case _CancelTimer():
return cancelTimer(_that);case _ResendRegister():
return resendRegister(_that);case _ResendForgot():
return resendForgot(_that);case _Ticked():
return ticked(_that);case _VerifyOtpReset():
return verifyOtpReset(_that);case _VerifyOtpRegister():
return verifyOtpRegister(_that);case _:
  throw StateError('Unexpected subclass');

}
}
/// A variant of `map` that fallback to returning `null`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case _:
///     return null;
/// }
/// ```

@optionalTypeArgs TResult? mapOrNull<TResult extends Object?>({TResult? Function( _Started value)?  started,TResult? Function( _CancelTimer value)?  cancelTimer,TResult? Function( _ResendRegister value)?  resendRegister,TResult? Function( _ResendForgot value)?  resendForgot,TResult? Function( _Ticked value)?  ticked,TResult? Function( _VerifyOtpReset value)?  verifyOtpReset,TResult? Function( _VerifyOtpRegister value)?  verifyOtpRegister,}){
final _that = this;
switch (_that) {
case _Started() when started != null:
return started(_that);case _CancelTimer() when cancelTimer != null:
return cancelTimer(_that);case _ResendRegister() when resendRegister != null:
return resendRegister(_that);case _ResendForgot() when resendForgot != null:
return resendForgot(_that);case _Ticked() when ticked != null:
return ticked(_that);case _VerifyOtpReset() when verifyOtpReset != null:
return verifyOtpReset(_that);case _VerifyOtpRegister() when verifyOtpRegister != null:
return verifyOtpRegister(_that);case _:
  return null;

}
}
/// A variant of `when` that fallback to an `orElse` callback.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case _:
///     return orElse();
/// }
/// ```

@optionalTypeArgs TResult maybeWhen<TResult extends Object?>({TResult Function()?  started,TResult Function()?  cancelTimer,TResult Function( String phoneNUmber)?  resendRegister,TResult Function( String phoneNUmber)?  resendForgot,TResult Function( int seconds)?  ticked,TResult Function( VerifyOtpCodeParams params)?  verifyOtpReset,TResult Function( VerifyOtpCodeParams params)?  verifyOtpRegister,required TResult orElse(),}) {final _that = this;
switch (_that) {
case _Started() when started != null:
return started();case _CancelTimer() when cancelTimer != null:
return cancelTimer();case _ResendRegister() when resendRegister != null:
return resendRegister(_that.phoneNUmber);case _ResendForgot() when resendForgot != null:
return resendForgot(_that.phoneNUmber);case _Ticked() when ticked != null:
return ticked(_that.seconds);case _VerifyOtpReset() when verifyOtpReset != null:
return verifyOtpReset(_that.params);case _VerifyOtpRegister() when verifyOtpRegister != null:
return verifyOtpRegister(_that.params);case _:
  return orElse();

}
}
/// A `switch`-like method, using callbacks.
///
/// As opposed to `map`, this offers destructuring.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case Subclass2(:final field2):
///     return ...;
/// }
/// ```

@optionalTypeArgs TResult when<TResult extends Object?>({required TResult Function()  started,required TResult Function()  cancelTimer,required TResult Function( String phoneNUmber)  resendRegister,required TResult Function( String phoneNUmber)  resendForgot,required TResult Function( int seconds)  ticked,required TResult Function( VerifyOtpCodeParams params)  verifyOtpReset,required TResult Function( VerifyOtpCodeParams params)  verifyOtpRegister,}) {final _that = this;
switch (_that) {
case _Started():
return started();case _CancelTimer():
return cancelTimer();case _ResendRegister():
return resendRegister(_that.phoneNUmber);case _ResendForgot():
return resendForgot(_that.phoneNUmber);case _Ticked():
return ticked(_that.seconds);case _VerifyOtpReset():
return verifyOtpReset(_that.params);case _VerifyOtpRegister():
return verifyOtpRegister(_that.params);case _:
  throw StateError('Unexpected subclass');

}
}
/// A variant of `when` that fallback to returning `null`
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case _:
///     return null;
/// }
/// ```

@optionalTypeArgs TResult? whenOrNull<TResult extends Object?>({TResult? Function()?  started,TResult? Function()?  cancelTimer,TResult? Function( String phoneNUmber)?  resendRegister,TResult? Function( String phoneNUmber)?  resendForgot,TResult? Function( int seconds)?  ticked,TResult? Function( VerifyOtpCodeParams params)?  verifyOtpReset,TResult? Function( VerifyOtpCodeParams params)?  verifyOtpRegister,}) {final _that = this;
switch (_that) {
case _Started() when started != null:
return started();case _CancelTimer() when cancelTimer != null:
return cancelTimer();case _ResendRegister() when resendRegister != null:
return resendRegister(_that.phoneNUmber);case _ResendForgot() when resendForgot != null:
return resendForgot(_that.phoneNUmber);case _Ticked() when ticked != null:
return ticked(_that.seconds);case _VerifyOtpReset() when verifyOtpReset != null:
return verifyOtpReset(_that.params);case _VerifyOtpRegister() when verifyOtpRegister != null:
return verifyOtpRegister(_that.params);case _:
  return null;

}
}

}

/// @nodoc


class _Started implements VerifyOtpEvent {
  const _Started();
  






@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _Started);
}


@override
int get hashCode => runtimeType.hashCode;

@override
String toString() {
  return 'VerifyOtpEvent.started()';
}


}




/// @nodoc


class _CancelTimer implements VerifyOtpEvent {
  const _CancelTimer();
  






@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _CancelTimer);
}


@override
int get hashCode => runtimeType.hashCode;

@override
String toString() {
  return 'VerifyOtpEvent.cancelTimer()';
}


}




/// @nodoc


class _ResendRegister implements VerifyOtpEvent {
  const _ResendRegister(this.phoneNUmber);
  

 final  String phoneNUmber;

/// Create a copy of VerifyOtpEvent
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
_$ResendRegisterCopyWith<_ResendRegister> get copyWith => __$ResendRegisterCopyWithImpl<_ResendRegister>(this, _$identity);



@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _ResendRegister&&(identical(other.phoneNUmber, phoneNUmber) || other.phoneNUmber == phoneNUmber));
}


@override
int get hashCode => Object.hash(runtimeType,phoneNUmber);

@override
String toString() {
  return 'VerifyOtpEvent.resendRegister(phoneNUmber: $phoneNUmber)';
}


}

/// @nodoc
abstract mixin class _$ResendRegisterCopyWith<$Res> implements $VerifyOtpEventCopyWith<$Res> {
  factory _$ResendRegisterCopyWith(_ResendRegister value, $Res Function(_ResendRegister) _then) = __$ResendRegisterCopyWithImpl;
@useResult
$Res call({
 String phoneNUmber
});




}
/// @nodoc
class __$ResendRegisterCopyWithImpl<$Res>
    implements _$ResendRegisterCopyWith<$Res> {
  __$ResendRegisterCopyWithImpl(this._self, this._then);

  final _ResendRegister _self;
  final $Res Function(_ResendRegister) _then;

/// Create a copy of VerifyOtpEvent
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') $Res call({Object? phoneNUmber = null,}) {
  return _then(_ResendRegister(
null == phoneNUmber ? _self.phoneNUmber : phoneNUmber // ignore: cast_nullable_to_non_nullable
as String,
  ));
}


}

/// @nodoc


class _ResendForgot implements VerifyOtpEvent {
  const _ResendForgot(this.phoneNUmber);
  

 final  String phoneNUmber;

/// Create a copy of VerifyOtpEvent
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
_$ResendForgotCopyWith<_ResendForgot> get copyWith => __$ResendForgotCopyWithImpl<_ResendForgot>(this, _$identity);



@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _ResendForgot&&(identical(other.phoneNUmber, phoneNUmber) || other.phoneNUmber == phoneNUmber));
}


@override
int get hashCode => Object.hash(runtimeType,phoneNUmber);

@override
String toString() {
  return 'VerifyOtpEvent.resendForgot(phoneNUmber: $phoneNUmber)';
}


}

/// @nodoc
abstract mixin class _$ResendForgotCopyWith<$Res> implements $VerifyOtpEventCopyWith<$Res> {
  factory _$ResendForgotCopyWith(_ResendForgot value, $Res Function(_ResendForgot) _then) = __$ResendForgotCopyWithImpl;
@useResult
$Res call({
 String phoneNUmber
});




}
/// @nodoc
class __$ResendForgotCopyWithImpl<$Res>
    implements _$ResendForgotCopyWith<$Res> {
  __$ResendForgotCopyWithImpl(this._self, this._then);

  final _ResendForgot _self;
  final $Res Function(_ResendForgot) _then;

/// Create a copy of VerifyOtpEvent
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') $Res call({Object? phoneNUmber = null,}) {
  return _then(_ResendForgot(
null == phoneNUmber ? _self.phoneNUmber : phoneNUmber // ignore: cast_nullable_to_non_nullable
as String,
  ));
}


}

/// @nodoc


class _Ticked implements VerifyOtpEvent {
  const _Ticked(this.seconds);
  

 final  int seconds;

/// Create a copy of VerifyOtpEvent
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
_$TickedCopyWith<_Ticked> get copyWith => __$TickedCopyWithImpl<_Ticked>(this, _$identity);



@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _Ticked&&(identical(other.seconds, seconds) || other.seconds == seconds));
}


@override
int get hashCode => Object.hash(runtimeType,seconds);

@override
String toString() {
  return 'VerifyOtpEvent.ticked(seconds: $seconds)';
}


}

/// @nodoc
abstract mixin class _$TickedCopyWith<$Res> implements $VerifyOtpEventCopyWith<$Res> {
  factory _$TickedCopyWith(_Ticked value, $Res Function(_Ticked) _then) = __$TickedCopyWithImpl;
@useResult
$Res call({
 int seconds
});




}
/// @nodoc
class __$TickedCopyWithImpl<$Res>
    implements _$TickedCopyWith<$Res> {
  __$TickedCopyWithImpl(this._self, this._then);

  final _Ticked _self;
  final $Res Function(_Ticked) _then;

/// Create a copy of VerifyOtpEvent
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') $Res call({Object? seconds = null,}) {
  return _then(_Ticked(
null == seconds ? _self.seconds : seconds // ignore: cast_nullable_to_non_nullable
as int,
  ));
}


}

/// @nodoc


class _VerifyOtpReset implements VerifyOtpEvent {
  const _VerifyOtpReset(this.params);
  

 final  VerifyOtpCodeParams params;

/// Create a copy of VerifyOtpEvent
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
_$VerifyOtpResetCopyWith<_VerifyOtpReset> get copyWith => __$VerifyOtpResetCopyWithImpl<_VerifyOtpReset>(this, _$identity);



@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _VerifyOtpReset&&(identical(other.params, params) || other.params == params));
}


@override
int get hashCode => Object.hash(runtimeType,params);

@override
String toString() {
  return 'VerifyOtpEvent.verifyOtpReset(params: $params)';
}


}

/// @nodoc
abstract mixin class _$VerifyOtpResetCopyWith<$Res> implements $VerifyOtpEventCopyWith<$Res> {
  factory _$VerifyOtpResetCopyWith(_VerifyOtpReset value, $Res Function(_VerifyOtpReset) _then) = __$VerifyOtpResetCopyWithImpl;
@useResult
$Res call({
 VerifyOtpCodeParams params
});




}
/// @nodoc
class __$VerifyOtpResetCopyWithImpl<$Res>
    implements _$VerifyOtpResetCopyWith<$Res> {
  __$VerifyOtpResetCopyWithImpl(this._self, this._then);

  final _VerifyOtpReset _self;
  final $Res Function(_VerifyOtpReset) _then;

/// Create a copy of VerifyOtpEvent
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') $Res call({Object? params = null,}) {
  return _then(_VerifyOtpReset(
null == params ? _self.params : params // ignore: cast_nullable_to_non_nullable
as VerifyOtpCodeParams,
  ));
}


}

/// @nodoc


class _VerifyOtpRegister implements VerifyOtpEvent {
  const _VerifyOtpRegister(this.params);
  

 final  VerifyOtpCodeParams params;

/// Create a copy of VerifyOtpEvent
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
_$VerifyOtpRegisterCopyWith<_VerifyOtpRegister> get copyWith => __$VerifyOtpRegisterCopyWithImpl<_VerifyOtpRegister>(this, _$identity);



@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _VerifyOtpRegister&&(identical(other.params, params) || other.params == params));
}


@override
int get hashCode => Object.hash(runtimeType,params);

@override
String toString() {
  return 'VerifyOtpEvent.verifyOtpRegister(params: $params)';
}


}

/// @nodoc
abstract mixin class _$VerifyOtpRegisterCopyWith<$Res> implements $VerifyOtpEventCopyWith<$Res> {
  factory _$VerifyOtpRegisterCopyWith(_VerifyOtpRegister value, $Res Function(_VerifyOtpRegister) _then) = __$VerifyOtpRegisterCopyWithImpl;
@useResult
$Res call({
 VerifyOtpCodeParams params
});




}
/// @nodoc
class __$VerifyOtpRegisterCopyWithImpl<$Res>
    implements _$VerifyOtpRegisterCopyWith<$Res> {
  __$VerifyOtpRegisterCopyWithImpl(this._self, this._then);

  final _VerifyOtpRegister _self;
  final $Res Function(_VerifyOtpRegister) _then;

/// Create a copy of VerifyOtpEvent
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') $Res call({Object? params = null,}) {
  return _then(_VerifyOtpRegister(
null == params ? _self.params : params // ignore: cast_nullable_to_non_nullable
as VerifyOtpCodeParams,
  ));
}


}

/// @nodoc
mixin _$VerifyOtpState {

 RequestStatus get status; RequestStatus get resendStatus; int get time;
/// Create a copy of VerifyOtpState
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$VerifyOtpStateCopyWith<VerifyOtpState> get copyWith => _$VerifyOtpStateCopyWithImpl<VerifyOtpState>(this as VerifyOtpState, _$identity);



@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is VerifyOtpState&&(identical(other.status, status) || other.status == status)&&(identical(other.resendStatus, resendStatus) || other.resendStatus == resendStatus)&&(identical(other.time, time) || other.time == time));
}


@override
int get hashCode => Object.hash(runtimeType,status,resendStatus,time);

@override
String toString() {
  return 'VerifyOtpState(status: $status, resendStatus: $resendStatus, time: $time)';
}


}

/// @nodoc
abstract mixin class $VerifyOtpStateCopyWith<$Res>  {
  factory $VerifyOtpStateCopyWith(VerifyOtpState value, $Res Function(VerifyOtpState) _then) = _$VerifyOtpStateCopyWithImpl;
@useResult
$Res call({
 RequestStatus status, RequestStatus resendStatus, int time
});




}
/// @nodoc
class _$VerifyOtpStateCopyWithImpl<$Res>
    implements $VerifyOtpStateCopyWith<$Res> {
  _$VerifyOtpStateCopyWithImpl(this._self, this._then);

  final VerifyOtpState _self;
  final $Res Function(VerifyOtpState) _then;

/// Create a copy of VerifyOtpState
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') @override $Res call({Object? status = null,Object? resendStatus = null,Object? time = null,}) {
  return _then(_self.copyWith(
status: null == status ? _self.status : status // ignore: cast_nullable_to_non_nullable
as RequestStatus,resendStatus: null == resendStatus ? _self.resendStatus : resendStatus // ignore: cast_nullable_to_non_nullable
as RequestStatus,time: null == time ? _self.time : time // ignore: cast_nullable_to_non_nullable
as int,
  ));
}

}


/// Adds pattern-matching-related methods to [VerifyOtpState].
extension VerifyOtpStatePatterns on VerifyOtpState {
/// A variant of `map` that fallback to returning `orElse`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case _:
///     return orElse();
/// }
/// ```

@optionalTypeArgs TResult maybeMap<TResult extends Object?>(TResult Function( _VerifyOtpState value)?  $default,{required TResult orElse(),}){
final _that = this;
switch (_that) {
case _VerifyOtpState() when $default != null:
return $default(_that);case _:
  return orElse();

}
}
/// A `switch`-like method, using callbacks.
///
/// Callbacks receives the raw object, upcasted.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case final Subclass2 value:
///     return ...;
/// }
/// ```

@optionalTypeArgs TResult map<TResult extends Object?>(TResult Function( _VerifyOtpState value)  $default,){
final _that = this;
switch (_that) {
case _VerifyOtpState():
return $default(_that);case _:
  throw StateError('Unexpected subclass');

}
}
/// A variant of `map` that fallback to returning `null`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case _:
///     return null;
/// }
/// ```

@optionalTypeArgs TResult? mapOrNull<TResult extends Object?>(TResult? Function( _VerifyOtpState value)?  $default,){
final _that = this;
switch (_that) {
case _VerifyOtpState() when $default != null:
return $default(_that);case _:
  return null;

}
}
/// A variant of `when` that fallback to an `orElse` callback.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case _:
///     return orElse();
/// }
/// ```

@optionalTypeArgs TResult maybeWhen<TResult extends Object?>(TResult Function( RequestStatus status,  RequestStatus resendStatus,  int time)?  $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _VerifyOtpState() when $default != null:
return $default(_that.status,_that.resendStatus,_that.time);case _:
  return orElse();

}
}
/// A `switch`-like method, using callbacks.
///
/// As opposed to `map`, this offers destructuring.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case Subclass2(:final field2):
///     return ...;
/// }
/// ```

@optionalTypeArgs TResult when<TResult extends Object?>(TResult Function( RequestStatus status,  RequestStatus resendStatus,  int time)  $default,) {final _that = this;
switch (_that) {
case _VerifyOtpState():
return $default(_that.status,_that.resendStatus,_that.time);case _:
  throw StateError('Unexpected subclass');

}
}
/// A variant of `when` that fallback to returning `null`
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case _:
///     return null;
/// }
/// ```

@optionalTypeArgs TResult? whenOrNull<TResult extends Object?>(TResult? Function( RequestStatus status,  RequestStatus resendStatus,  int time)?  $default,) {final _that = this;
switch (_that) {
case _VerifyOtpState() when $default != null:
return $default(_that.status,_that.resendStatus,_that.time);case _:
  return null;

}
}

}

/// @nodoc


class _VerifyOtpState implements VerifyOtpState {
  const _VerifyOtpState({this.status = RequestStatus.initial, this.resendStatus = RequestStatus.initial, this.time = 120});
  

@override@JsonKey() final  RequestStatus status;
@override@JsonKey() final  RequestStatus resendStatus;
@override@JsonKey() final  int time;

/// Create a copy of VerifyOtpState
/// with the given fields replaced by the non-null parameter values.
@override @JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
_$VerifyOtpStateCopyWith<_VerifyOtpState> get copyWith => __$VerifyOtpStateCopyWithImpl<_VerifyOtpState>(this, _$identity);



@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _VerifyOtpState&&(identical(other.status, status) || other.status == status)&&(identical(other.resendStatus, resendStatus) || other.resendStatus == resendStatus)&&(identical(other.time, time) || other.time == time));
}


@override
int get hashCode => Object.hash(runtimeType,status,resendStatus,time);

@override
String toString() {
  return 'VerifyOtpState(status: $status, resendStatus: $resendStatus, time: $time)';
}


}

/// @nodoc
abstract mixin class _$VerifyOtpStateCopyWith<$Res> implements $VerifyOtpStateCopyWith<$Res> {
  factory _$VerifyOtpStateCopyWith(_VerifyOtpState value, $Res Function(_VerifyOtpState) _then) = __$VerifyOtpStateCopyWithImpl;
@override @useResult
$Res call({
 RequestStatus status, RequestStatus resendStatus, int time
});




}
/// @nodoc
class __$VerifyOtpStateCopyWithImpl<$Res>
    implements _$VerifyOtpStateCopyWith<$Res> {
  __$VerifyOtpStateCopyWithImpl(this._self, this._then);

  final _VerifyOtpState _self;
  final $Res Function(_VerifyOtpState) _then;

/// Create a copy of VerifyOtpState
/// with the given fields replaced by the non-null parameter values.
@override @pragma('vm:prefer-inline') $Res call({Object? status = null,Object? resendStatus = null,Object? time = null,}) {
  return _then(_VerifyOtpState(
status: null == status ? _self.status : status // ignore: cast_nullable_to_non_nullable
as RequestStatus,resendStatus: null == resendStatus ? _self.resendStatus : resendStatus // ignore: cast_nullable_to_non_nullable
as RequestStatus,time: null == time ? _self.time : time // ignore: cast_nullable_to_non_nullable
as int,
  ));
}


}

// dart format on
