2022-03-15 19:16:14 +03:00
// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
// 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
part of ' models.dart ' ;
// **************************************************************************
// FreezedGenerator
// **************************************************************************
T _ $identity < T > ( T value ) = > value ;
final _privateConstructorUsedError = UnsupportedError (
' It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it. \n Please check the documentation here for more informations: https://github.com/rrousselGit/freezed#custom-getters-and-methods ' ) ;
FidoState _ $FidoStateFromJson ( Map < String , dynamic > json ) {
return _FidoState . fromJson ( json ) ;
}
/// @nodoc
class _ $FidoStateTearOff {
const _ $FidoStateTearOff ( ) ;
_FidoState call ( { required Map < String , dynamic > info , required bool locked } ) {
return _FidoState (
info: info ,
locked: locked ,
) ;
}
FidoState fromJson ( Map < String , Object ? > json ) {
return FidoState . fromJson ( json ) ;
}
}
/// @nodoc
const $FidoState = _ $FidoStateTearOff ( ) ;
/// @nodoc
mixin _ $FidoState {
Map < String , dynamic > get info = > throw _privateConstructorUsedError ;
bool get locked = > throw _privateConstructorUsedError ;
Map < String , dynamic > toJson ( ) = > throw _privateConstructorUsedError ;
@ JsonKey ( ignore: true )
$FidoStateCopyWith < FidoState > get copyWith = >
throw _privateConstructorUsedError ;
}
/// @nodoc
abstract class $FidoStateCopyWith < $Res > {
factory $FidoStateCopyWith ( FidoState value , $Res Function ( FidoState ) then ) =
_ $FidoStateCopyWithImpl < $Res > ;
$Res call ( { Map < String , dynamic > info , bool locked } ) ;
}
/// @nodoc
class _ $FidoStateCopyWithImpl < $Res > implements $FidoStateCopyWith < $Res > {
_ $FidoStateCopyWithImpl ( this . _value , this . _then ) ;
final FidoState _value ;
// ignore: unused_field
final $Res Function ( FidoState ) _then ;
@ override
$Res call ( {
Object ? info = freezed ,
Object ? locked = freezed ,
} ) {
return _then ( _value . copyWith (
info: info = = freezed
? _value . info
: info // ignore: cast_nullable_to_non_nullable
as Map < String , dynamic > ,
locked: locked = = freezed
? _value . locked
: locked // ignore: cast_nullable_to_non_nullable
as bool ,
) ) ;
}
}
/// @nodoc
abstract class _ $FidoStateCopyWith < $Res > implements $FidoStateCopyWith < $Res > {
factory _ $FidoStateCopyWith (
_FidoState value , $Res Function ( _FidoState ) then ) =
__ $FidoStateCopyWithImpl < $Res > ;
@ override
$Res call ( { Map < String , dynamic > info , bool locked } ) ;
}
/// @nodoc
class __ $FidoStateCopyWithImpl < $Res > extends _ $FidoStateCopyWithImpl < $Res >
implements _ $FidoStateCopyWith < $Res > {
__ $FidoStateCopyWithImpl ( _FidoState _value , $Res Function ( _FidoState ) _then )
: super ( _value , ( v ) = > _then ( v as _FidoState ) ) ;
@ override
_FidoState get _value = > super . _value as _FidoState ;
@ override
$Res call ( {
Object ? info = freezed ,
Object ? locked = freezed ,
} ) {
return _then ( _FidoState (
info: info = = freezed
? _value . info
: info // ignore: cast_nullable_to_non_nullable
as Map < String , dynamic > ,
locked: locked = = freezed
? _value . locked
: locked // ignore: cast_nullable_to_non_nullable
as bool ,
) ) ;
}
}
/// @nodoc
@ JsonSerializable ( )
class _ $_FidoState extends _FidoState {
_ $_FidoState ( { required this . info , required this . locked } ) : super . _ ( ) ;
factory _ $_FidoState . fromJson ( Map < String , dynamic > json ) = >
_ $ $_FidoStateFromJson ( json ) ;
@ override
final Map < String , dynamic > info ;
@ override
final bool locked ;
@ override
String toString ( ) {
return ' FidoState(info: $ info , locked: $ locked ) ' ;
}
@ override
bool operator = = ( dynamic other ) {
return identical ( this , other ) | |
( other . runtimeType = = runtimeType & &
other is _FidoState & &
const DeepCollectionEquality ( ) . equals ( other . info , info ) & &
const DeepCollectionEquality ( ) . equals ( other . locked , locked ) ) ;
}
@ override
int get hashCode = > Object . hash (
runtimeType ,
const DeepCollectionEquality ( ) . hash ( info ) ,
const DeepCollectionEquality ( ) . hash ( locked ) ) ;
@ JsonKey ( ignore: true )
@ override
_ $FidoStateCopyWith < _FidoState > get copyWith = >
__ $FidoStateCopyWithImpl < _FidoState > ( this , _ $identity ) ;
@ override
Map < String , dynamic > toJson ( ) {
return _ $ $_FidoStateToJson ( this ) ;
}
}
abstract class _FidoState extends FidoState {
factory _FidoState (
{ required Map < String , dynamic > info ,
required bool locked } ) = _ $_FidoState ;
_FidoState . _ ( ) : super . _ ( ) ;
factory _FidoState . fromJson ( Map < String , dynamic > json ) =
_ $_FidoState . fromJson ;
@ override
Map < String , dynamic > get info ;
@ override
bool get locked ;
@ override
@ JsonKey ( ignore: true )
_ $FidoStateCopyWith < _FidoState > get copyWith = >
throw _privateConstructorUsedError ;
}
2022-03-17 15:06:48 +03:00
/// @nodoc
class _ $PinResultTearOff {
const _ $PinResultTearOff ( ) ;
2022-03-22 16:23:12 +03:00
_PinSuccess success ( ) {
return _PinSuccess ( ) ;
2022-03-17 15:06:48 +03:00
}
2022-03-22 16:23:12 +03:00
_PinFailure failed ( int retries , bool authBlocked ) {
return _PinFailure (
2022-03-17 15:06:48 +03:00
retries ,
authBlocked ,
) ;
}
}
/// @nodoc
const $PinResult = _ $PinResultTearOff ( ) ;
/// @nodoc
mixin _ $PinResult {
@ optionalTypeArgs
TResult when < TResult extends Object ? > ( {
required TResult Function ( ) success ,
required TResult Function ( int retries , bool authBlocked ) failed ,
} ) = >
throw _privateConstructorUsedError ;
@ optionalTypeArgs
TResult ? whenOrNull < TResult extends Object ? > ( {
TResult Function ( ) ? success ,
TResult Function ( int retries , bool authBlocked ) ? failed ,
} ) = >
throw _privateConstructorUsedError ;
@ optionalTypeArgs
TResult maybeWhen < TResult extends Object ? > ( {
TResult Function ( ) ? success ,
TResult Function ( int retries , bool authBlocked ) ? failed ,
required TResult orElse ( ) ,
} ) = >
throw _privateConstructorUsedError ;
@ optionalTypeArgs
TResult map < TResult extends Object ? > ( {
2022-03-22 16:23:12 +03:00
required TResult Function ( _PinSuccess value ) success ,
required TResult Function ( _PinFailure value ) failed ,
2022-03-17 15:06:48 +03:00
} ) = >
throw _privateConstructorUsedError ;
@ optionalTypeArgs
TResult ? mapOrNull < TResult extends Object ? > ( {
2022-03-22 16:23:12 +03:00
TResult Function ( _PinSuccess value ) ? success ,
TResult Function ( _PinFailure value ) ? failed ,
2022-03-17 15:06:48 +03:00
} ) = >
throw _privateConstructorUsedError ;
@ optionalTypeArgs
TResult maybeMap < TResult extends Object ? > ( {
2022-03-22 16:23:12 +03:00
TResult Function ( _PinSuccess value ) ? success ,
TResult Function ( _PinFailure value ) ? failed ,
2022-03-17 15:06:48 +03:00
required TResult orElse ( ) ,
} ) = >
throw _privateConstructorUsedError ;
}
/// @nodoc
abstract class $PinResultCopyWith < $Res > {
factory $PinResultCopyWith ( PinResult value , $Res Function ( PinResult ) then ) =
_ $PinResultCopyWithImpl < $Res > ;
}
/// @nodoc
class _ $PinResultCopyWithImpl < $Res > implements $PinResultCopyWith < $Res > {
_ $PinResultCopyWithImpl ( this . _value , this . _then ) ;
final PinResult _value ;
// ignore: unused_field
final $Res Function ( PinResult ) _then ;
}
/// @nodoc
2022-03-22 16:23:12 +03:00
abstract class _ $PinSuccessCopyWith < $Res > {
factory _ $PinSuccessCopyWith (
_PinSuccess value , $Res Function ( _PinSuccess ) then ) =
__ $PinSuccessCopyWithImpl < $Res > ;
2022-03-17 15:06:48 +03:00
}
/// @nodoc
2022-03-22 16:23:12 +03:00
class __ $PinSuccessCopyWithImpl < $Res > extends _ $PinResultCopyWithImpl < $Res >
implements _ $PinSuccessCopyWith < $Res > {
__ $PinSuccessCopyWithImpl (
_PinSuccess _value , $Res Function ( _PinSuccess ) _then )
: super ( _value , ( v ) = > _then ( v as _PinSuccess ) ) ;
2022-03-17 15:06:48 +03:00
@ override
2022-03-22 16:23:12 +03:00
_PinSuccess get _value = > super . _value as _PinSuccess ;
2022-03-17 15:06:48 +03:00
}
/// @nodoc
2022-03-22 16:23:12 +03:00
class _ $_PinSuccess implements _PinSuccess {
_ $_PinSuccess ( ) ;
2022-03-17 15:06:48 +03:00
@ override
String toString ( ) {
return ' PinResult.success() ' ;
}
@ override
bool operator = = ( dynamic other ) {
return identical ( this , other ) | |
2022-03-22 16:23:12 +03:00
( other . runtimeType = = runtimeType & & other is _PinSuccess ) ;
2022-03-17 15:06:48 +03:00
}
@ override
int get hashCode = > runtimeType . hashCode ;
@ override
@ optionalTypeArgs
TResult when < TResult extends Object ? > ( {
required TResult Function ( ) success ,
required TResult Function ( int retries , bool authBlocked ) failed ,
} ) {
return success ( ) ;
}
@ override
@ optionalTypeArgs
TResult ? whenOrNull < TResult extends Object ? > ( {
TResult Function ( ) ? success ,
TResult Function ( int retries , bool authBlocked ) ? failed ,
} ) {
return success ? . call ( ) ;
}
@ override
@ optionalTypeArgs
TResult maybeWhen < TResult extends Object ? > ( {
TResult Function ( ) ? success ,
TResult Function ( int retries , bool authBlocked ) ? failed ,
required TResult orElse ( ) ,
} ) {
if ( success ! = null ) {
return success ( ) ;
}
return orElse ( ) ;
}
@ override
@ optionalTypeArgs
TResult map < TResult extends Object ? > ( {
2022-03-22 16:23:12 +03:00
required TResult Function ( _PinSuccess value ) success ,
required TResult Function ( _PinFailure value ) failed ,
2022-03-17 15:06:48 +03:00
} ) {
return success ( this ) ;
}
@ override
@ optionalTypeArgs
TResult ? mapOrNull < TResult extends Object ? > ( {
2022-03-22 16:23:12 +03:00
TResult Function ( _PinSuccess value ) ? success ,
TResult Function ( _PinFailure value ) ? failed ,
2022-03-17 15:06:48 +03:00
} ) {
return success ? . call ( this ) ;
}
@ override
@ optionalTypeArgs
TResult maybeMap < TResult extends Object ? > ( {
2022-03-22 16:23:12 +03:00
TResult Function ( _PinSuccess value ) ? success ,
TResult Function ( _PinFailure value ) ? failed ,
2022-03-17 15:06:48 +03:00
required TResult orElse ( ) ,
} ) {
if ( success ! = null ) {
return success ( this ) ;
}
return orElse ( ) ;
}
}
2022-03-22 16:23:12 +03:00
abstract class _PinSuccess implements PinResult {
factory _PinSuccess ( ) = _ $_PinSuccess ;
2022-03-17 15:06:48 +03:00
}
/// @nodoc
2022-03-22 16:23:12 +03:00
abstract class _ $PinFailureCopyWith < $Res > {
factory _ $PinFailureCopyWith (
_PinFailure value , $Res Function ( _PinFailure ) then ) =
__ $PinFailureCopyWithImpl < $Res > ;
2022-03-17 15:06:48 +03:00
$Res call ( { int retries , bool authBlocked } ) ;
}
/// @nodoc
2022-03-22 16:23:12 +03:00
class __ $PinFailureCopyWithImpl < $Res > extends _ $PinResultCopyWithImpl < $Res >
implements _ $PinFailureCopyWith < $Res > {
__ $PinFailureCopyWithImpl (
_PinFailure _value , $Res Function ( _PinFailure ) _then )
: super ( _value , ( v ) = > _then ( v as _PinFailure ) ) ;
2022-03-17 15:06:48 +03:00
@ override
2022-03-22 16:23:12 +03:00
_PinFailure get _value = > super . _value as _PinFailure ;
2022-03-17 15:06:48 +03:00
@ override
$Res call ( {
Object ? retries = freezed ,
Object ? authBlocked = freezed ,
} ) {
2022-03-22 16:23:12 +03:00
return _then ( _PinFailure (
2022-03-17 15:06:48 +03:00
retries = = freezed
? _value . retries
: retries // ignore: cast_nullable_to_non_nullable
as int ,
authBlocked = = freezed
? _value . authBlocked
: authBlocked // ignore: cast_nullable_to_non_nullable
as bool ,
) ) ;
}
}
/// @nodoc
2022-03-22 16:23:12 +03:00
class _ $_PinFailure implements _PinFailure {
_ $_PinFailure ( this . retries , this . authBlocked ) ;
2022-03-17 15:06:48 +03:00
@ override
final int retries ;
@ override
final bool authBlocked ;
@ override
String toString ( ) {
return ' PinResult.failed(retries: $ retries , authBlocked: $ authBlocked ) ' ;
}
@ override
bool operator = = ( dynamic other ) {
return identical ( this , other ) | |
( other . runtimeType = = runtimeType & &
2022-03-22 16:23:12 +03:00
other is _PinFailure & &
2022-03-17 15:06:48 +03:00
const DeepCollectionEquality ( ) . equals ( other . retries , retries ) & &
const DeepCollectionEquality ( )
. equals ( other . authBlocked , authBlocked ) ) ;
}
@ override
int get hashCode = > Object . hash (
runtimeType ,
const DeepCollectionEquality ( ) . hash ( retries ) ,
const DeepCollectionEquality ( ) . hash ( authBlocked ) ) ;
@ JsonKey ( ignore: true )
@ override
2022-03-22 16:23:12 +03:00
_ $PinFailureCopyWith < _PinFailure > get copyWith = >
__ $PinFailureCopyWithImpl < _PinFailure > ( this , _ $identity ) ;
2022-03-17 15:06:48 +03:00
@ override
@ optionalTypeArgs
TResult when < TResult extends Object ? > ( {
required TResult Function ( ) success ,
required TResult Function ( int retries , bool authBlocked ) failed ,
} ) {
return failed ( retries , authBlocked ) ;
}
@ override
@ optionalTypeArgs
TResult ? whenOrNull < TResult extends Object ? > ( {
TResult Function ( ) ? success ,
TResult Function ( int retries , bool authBlocked ) ? failed ,
} ) {
return failed ? . call ( retries , authBlocked ) ;
}
@ override
@ optionalTypeArgs
TResult maybeWhen < TResult extends Object ? > ( {
TResult Function ( ) ? success ,
TResult Function ( int retries , bool authBlocked ) ? failed ,
required TResult orElse ( ) ,
} ) {
if ( failed ! = null ) {
return failed ( retries , authBlocked ) ;
}
return orElse ( ) ;
}
@ override
@ optionalTypeArgs
TResult map < TResult extends Object ? > ( {
2022-03-22 16:23:12 +03:00
required TResult Function ( _PinSuccess value ) success ,
required TResult Function ( _PinFailure value ) failed ,
2022-03-17 15:06:48 +03:00
} ) {
return failed ( this ) ;
}
@ override
@ optionalTypeArgs
TResult ? mapOrNull < TResult extends Object ? > ( {
2022-03-22 16:23:12 +03:00
TResult Function ( _PinSuccess value ) ? success ,
TResult Function ( _PinFailure value ) ? failed ,
2022-03-17 15:06:48 +03:00
} ) {
return failed ? . call ( this ) ;
}
@ override
@ optionalTypeArgs
TResult maybeMap < TResult extends Object ? > ( {
2022-03-22 16:23:12 +03:00
TResult Function ( _PinSuccess value ) ? success ,
TResult Function ( _PinFailure value ) ? failed ,
2022-03-17 15:06:48 +03:00
required TResult orElse ( ) ,
} ) {
if ( failed ! = null ) {
return failed ( this ) ;
}
return orElse ( ) ;
}
}
2022-03-22 16:23:12 +03:00
abstract class _PinFailure implements PinResult {
factory _PinFailure ( int retries , bool authBlocked ) = _ $_PinFailure ;
2022-03-17 15:06:48 +03:00
int get retries ;
bool get authBlocked ;
@ JsonKey ( ignore: true )
2022-03-22 16:23:12 +03:00
_ $PinFailureCopyWith < _PinFailure > get copyWith = >
throw _privateConstructorUsedError ;
}
/// @nodoc
class _ $FingerprintTearOff {
const _ $FingerprintTearOff ( ) ;
_Fingerprint call ( String id , String ? label ) {
return _Fingerprint (
id ,
label ,
) ;
}
}
/// @nodoc
const $Fingerprint = _ $FingerprintTearOff ( ) ;
/// @nodoc
mixin _ $Fingerprint {
String get id = > throw _privateConstructorUsedError ;
String ? get label = > throw _privateConstructorUsedError ;
@ JsonKey ( ignore: true )
$FingerprintCopyWith < Fingerprint > get copyWith = >
throw _privateConstructorUsedError ;
}
/// @nodoc
abstract class $FingerprintCopyWith < $Res > {
factory $FingerprintCopyWith (
Fingerprint value , $Res Function ( Fingerprint ) then ) =
_ $FingerprintCopyWithImpl < $Res > ;
$Res call ( { String id , String ? label } ) ;
}
/// @nodoc
class _ $FingerprintCopyWithImpl < $Res > implements $FingerprintCopyWith < $Res > {
_ $FingerprintCopyWithImpl ( this . _value , this . _then ) ;
final Fingerprint _value ;
// ignore: unused_field
final $Res Function ( Fingerprint ) _then ;
@ override
$Res call ( {
Object ? id = freezed ,
Object ? label = freezed ,
} ) {
return _then ( _value . copyWith (
id: id = = freezed
? _value . id
: id // ignore: cast_nullable_to_non_nullable
as String ,
label: label = = freezed
? _value . label
: label // ignore: cast_nullable_to_non_nullable
as String ? ,
) ) ;
}
}
/// @nodoc
abstract class _ $FingerprintCopyWith < $Res >
implements $FingerprintCopyWith < $Res > {
factory _ $FingerprintCopyWith (
_Fingerprint value , $Res Function ( _Fingerprint ) then ) =
__ $FingerprintCopyWithImpl < $Res > ;
@ override
$Res call ( { String id , String ? label } ) ;
}
/// @nodoc
class __ $FingerprintCopyWithImpl < $Res > extends _ $FingerprintCopyWithImpl < $Res >
implements _ $FingerprintCopyWith < $Res > {
__ $FingerprintCopyWithImpl (
_Fingerprint _value , $Res Function ( _Fingerprint ) _then )
: super ( _value , ( v ) = > _then ( v as _Fingerprint ) ) ;
@ override
_Fingerprint get _value = > super . _value as _Fingerprint ;
@ override
$Res call ( {
Object ? id = freezed ,
Object ? label = freezed ,
} ) {
return _then ( _Fingerprint (
id = = freezed
? _value . id
: id // ignore: cast_nullable_to_non_nullable
as String ,
label = = freezed
? _value . label
: label // ignore: cast_nullable_to_non_nullable
as String ? ,
) ) ;
}
}
/// @nodoc
class _ $_Fingerprint implements _Fingerprint {
_ $_Fingerprint ( this . id , this . label ) ;
@ override
final String id ;
@ override
final String ? label ;
@ override
String toString ( ) {
return ' Fingerprint(id: $ id , label: $ label ) ' ;
}
@ override
bool operator = = ( dynamic other ) {
return identical ( this , other ) | |
( other . runtimeType = = runtimeType & &
other is _Fingerprint & &
const DeepCollectionEquality ( ) . equals ( other . id , id ) & &
const DeepCollectionEquality ( ) . equals ( other . label , label ) ) ;
}
@ override
int get hashCode = > Object . hash (
runtimeType ,
const DeepCollectionEquality ( ) . hash ( id ) ,
const DeepCollectionEquality ( ) . hash ( label ) ) ;
@ JsonKey ( ignore: true )
@ override
_ $FingerprintCopyWith < _Fingerprint > get copyWith = >
__ $FingerprintCopyWithImpl < _Fingerprint > ( this , _ $identity ) ;
}
abstract class _Fingerprint implements Fingerprint {
factory _Fingerprint ( String id , String ? label ) = _ $_Fingerprint ;
@ override
String get id ;
@ override
String ? get label ;
@ override
@ JsonKey ( ignore: true )
_ $FingerprintCopyWith < _Fingerprint > get copyWith = >
throw _privateConstructorUsedError ;
}
/// @nodoc
class _ $FingerprintEventTearOff {
const _ $FingerprintEventTearOff ( ) ;
_EventCapture capture ( int remaining ) {
return _EventCapture (
remaining ,
) ;
}
_EventComplete complete ( String termplateId ) {
return _EventComplete (
termplateId ,
) ;
}
_EventError error ( int code ) {
return _EventError (
code ,
) ;
}
}
/// @nodoc
const $FingerprintEvent = _ $FingerprintEventTearOff ( ) ;
/// @nodoc
mixin _ $FingerprintEvent {
@ optionalTypeArgs
TResult when < TResult extends Object ? > ( {
required TResult Function ( int remaining ) capture ,
required TResult Function ( String termplateId ) complete ,
required TResult Function ( int code ) error ,
} ) = >
throw _privateConstructorUsedError ;
@ optionalTypeArgs
TResult ? whenOrNull < TResult extends Object ? > ( {
TResult Function ( int remaining ) ? capture ,
TResult Function ( String termplateId ) ? complete ,
TResult Function ( int code ) ? error ,
} ) = >
throw _privateConstructorUsedError ;
@ optionalTypeArgs
TResult maybeWhen < TResult extends Object ? > ( {
TResult Function ( int remaining ) ? capture ,
TResult Function ( String termplateId ) ? complete ,
TResult Function ( int code ) ? error ,
required TResult orElse ( ) ,
} ) = >
throw _privateConstructorUsedError ;
@ optionalTypeArgs
TResult map < TResult extends Object ? > ( {
required TResult Function ( _EventCapture value ) capture ,
required TResult Function ( _EventComplete value ) complete ,
required TResult Function ( _EventError value ) error ,
} ) = >
throw _privateConstructorUsedError ;
@ optionalTypeArgs
TResult ? mapOrNull < TResult extends Object ? > ( {
TResult Function ( _EventCapture value ) ? capture ,
TResult Function ( _EventComplete value ) ? complete ,
TResult Function ( _EventError value ) ? error ,
} ) = >
throw _privateConstructorUsedError ;
@ optionalTypeArgs
TResult maybeMap < TResult extends Object ? > ( {
TResult Function ( _EventCapture value ) ? capture ,
TResult Function ( _EventComplete value ) ? complete ,
TResult Function ( _EventError value ) ? error ,
required TResult orElse ( ) ,
} ) = >
throw _privateConstructorUsedError ;
}
/// @nodoc
abstract class $FingerprintEventCopyWith < $Res > {
factory $FingerprintEventCopyWith (
FingerprintEvent value , $Res Function ( FingerprintEvent ) then ) =
_ $FingerprintEventCopyWithImpl < $Res > ;
}
/// @nodoc
class _ $FingerprintEventCopyWithImpl < $Res >
implements $FingerprintEventCopyWith < $Res > {
_ $FingerprintEventCopyWithImpl ( this . _value , this . _then ) ;
final FingerprintEvent _value ;
// ignore: unused_field
final $Res Function ( FingerprintEvent ) _then ;
}
/// @nodoc
abstract class _ $EventCaptureCopyWith < $Res > {
factory _ $EventCaptureCopyWith (
_EventCapture value , $Res Function ( _EventCapture ) then ) =
__ $EventCaptureCopyWithImpl < $Res > ;
$Res call ( { int remaining } ) ;
}
/// @nodoc
class __ $EventCaptureCopyWithImpl < $Res >
extends _ $FingerprintEventCopyWithImpl < $Res >
implements _ $EventCaptureCopyWith < $Res > {
__ $EventCaptureCopyWithImpl (
_EventCapture _value , $Res Function ( _EventCapture ) _then )
: super ( _value , ( v ) = > _then ( v as _EventCapture ) ) ;
@ override
_EventCapture get _value = > super . _value as _EventCapture ;
@ override
$Res call ( {
Object ? remaining = freezed ,
} ) {
return _then ( _EventCapture (
remaining = = freezed
? _value . remaining
: remaining // ignore: cast_nullable_to_non_nullable
as int ,
) ) ;
}
}
/// @nodoc
class _ $_EventCapture implements _EventCapture {
_ $_EventCapture ( this . remaining ) ;
@ override
final int remaining ;
@ override
String toString ( ) {
return ' FingerprintEvent.capture(remaining: $ remaining ) ' ;
}
@ override
bool operator = = ( dynamic other ) {
return identical ( this , other ) | |
( other . runtimeType = = runtimeType & &
other is _EventCapture & &
const DeepCollectionEquality ( ) . equals ( other . remaining , remaining ) ) ;
}
@ override
int get hashCode = >
Object . hash ( runtimeType , const DeepCollectionEquality ( ) . hash ( remaining ) ) ;
@ JsonKey ( ignore: true )
@ override
_ $EventCaptureCopyWith < _EventCapture > get copyWith = >
__ $EventCaptureCopyWithImpl < _EventCapture > ( this , _ $identity ) ;
@ override
@ optionalTypeArgs
TResult when < TResult extends Object ? > ( {
required TResult Function ( int remaining ) capture ,
required TResult Function ( String termplateId ) complete ,
required TResult Function ( int code ) error ,
} ) {
return capture ( remaining ) ;
}
@ override
@ optionalTypeArgs
TResult ? whenOrNull < TResult extends Object ? > ( {
TResult Function ( int remaining ) ? capture ,
TResult Function ( String termplateId ) ? complete ,
TResult Function ( int code ) ? error ,
} ) {
return capture ? . call ( remaining ) ;
}
@ override
@ optionalTypeArgs
TResult maybeWhen < TResult extends Object ? > ( {
TResult Function ( int remaining ) ? capture ,
TResult Function ( String termplateId ) ? complete ,
TResult Function ( int code ) ? error ,
required TResult orElse ( ) ,
} ) {
if ( capture ! = null ) {
return capture ( remaining ) ;
}
return orElse ( ) ;
}
@ override
@ optionalTypeArgs
TResult map < TResult extends Object ? > ( {
required TResult Function ( _EventCapture value ) capture ,
required TResult Function ( _EventComplete value ) complete ,
required TResult Function ( _EventError value ) error ,
} ) {
return capture ( this ) ;
}
@ override
@ optionalTypeArgs
TResult ? mapOrNull < TResult extends Object ? > ( {
TResult Function ( _EventCapture value ) ? capture ,
TResult Function ( _EventComplete value ) ? complete ,
TResult Function ( _EventError value ) ? error ,
} ) {
return capture ? . call ( this ) ;
}
@ override
@ optionalTypeArgs
TResult maybeMap < TResult extends Object ? > ( {
TResult Function ( _EventCapture value ) ? capture ,
TResult Function ( _EventComplete value ) ? complete ,
TResult Function ( _EventError value ) ? error ,
required TResult orElse ( ) ,
} ) {
if ( capture ! = null ) {
return capture ( this ) ;
}
return orElse ( ) ;
}
}
abstract class _EventCapture implements FingerprintEvent {
factory _EventCapture ( int remaining ) = _ $_EventCapture ;
int get remaining ;
@ JsonKey ( ignore: true )
_ $EventCaptureCopyWith < _EventCapture > get copyWith = >
throw _privateConstructorUsedError ;
}
/// @nodoc
abstract class _ $EventCompleteCopyWith < $Res > {
factory _ $EventCompleteCopyWith (
_EventComplete value , $Res Function ( _EventComplete ) then ) =
__ $EventCompleteCopyWithImpl < $Res > ;
$Res call ( { String termplateId } ) ;
}
/// @nodoc
class __ $EventCompleteCopyWithImpl < $Res >
extends _ $FingerprintEventCopyWithImpl < $Res >
implements _ $EventCompleteCopyWith < $Res > {
__ $EventCompleteCopyWithImpl (
_EventComplete _value , $Res Function ( _EventComplete ) _then )
: super ( _value , ( v ) = > _then ( v as _EventComplete ) ) ;
@ override
_EventComplete get _value = > super . _value as _EventComplete ;
@ override
$Res call ( {
Object ? termplateId = freezed ,
} ) {
return _then ( _EventComplete (
termplateId = = freezed
? _value . termplateId
: termplateId // ignore: cast_nullable_to_non_nullable
as String ,
) ) ;
}
}
/// @nodoc
class _ $_EventComplete implements _EventComplete {
_ $_EventComplete ( this . termplateId ) ;
@ override
final String termplateId ;
@ override
String toString ( ) {
return ' FingerprintEvent.complete(termplateId: $ termplateId ) ' ;
}
@ override
bool operator = = ( dynamic other ) {
return identical ( this , other ) | |
( other . runtimeType = = runtimeType & &
other is _EventComplete & &
const DeepCollectionEquality ( )
. equals ( other . termplateId , termplateId ) ) ;
}
@ override
int get hashCode = > Object . hash (
runtimeType , const DeepCollectionEquality ( ) . hash ( termplateId ) ) ;
@ JsonKey ( ignore: true )
@ override
_ $EventCompleteCopyWith < _EventComplete > get copyWith = >
__ $EventCompleteCopyWithImpl < _EventComplete > ( this , _ $identity ) ;
@ override
@ optionalTypeArgs
TResult when < TResult extends Object ? > ( {
required TResult Function ( int remaining ) capture ,
required TResult Function ( String termplateId ) complete ,
required TResult Function ( int code ) error ,
} ) {
return complete ( termplateId ) ;
}
@ override
@ optionalTypeArgs
TResult ? whenOrNull < TResult extends Object ? > ( {
TResult Function ( int remaining ) ? capture ,
TResult Function ( String termplateId ) ? complete ,
TResult Function ( int code ) ? error ,
} ) {
return complete ? . call ( termplateId ) ;
}
@ override
@ optionalTypeArgs
TResult maybeWhen < TResult extends Object ? > ( {
TResult Function ( int remaining ) ? capture ,
TResult Function ( String termplateId ) ? complete ,
TResult Function ( int code ) ? error ,
required TResult orElse ( ) ,
} ) {
if ( complete ! = null ) {
return complete ( termplateId ) ;
}
return orElse ( ) ;
}
@ override
@ optionalTypeArgs
TResult map < TResult extends Object ? > ( {
required TResult Function ( _EventCapture value ) capture ,
required TResult Function ( _EventComplete value ) complete ,
required TResult Function ( _EventError value ) error ,
} ) {
return complete ( this ) ;
}
@ override
@ optionalTypeArgs
TResult ? mapOrNull < TResult extends Object ? > ( {
TResult Function ( _EventCapture value ) ? capture ,
TResult Function ( _EventComplete value ) ? complete ,
TResult Function ( _EventError value ) ? error ,
} ) {
return complete ? . call ( this ) ;
}
@ override
@ optionalTypeArgs
TResult maybeMap < TResult extends Object ? > ( {
TResult Function ( _EventCapture value ) ? capture ,
TResult Function ( _EventComplete value ) ? complete ,
TResult Function ( _EventError value ) ? error ,
required TResult orElse ( ) ,
} ) {
if ( complete ! = null ) {
return complete ( this ) ;
}
return orElse ( ) ;
}
}
abstract class _EventComplete implements FingerprintEvent {
factory _EventComplete ( String termplateId ) = _ $_EventComplete ;
String get termplateId ;
@ JsonKey ( ignore: true )
_ $EventCompleteCopyWith < _EventComplete > get copyWith = >
throw _privateConstructorUsedError ;
}
/// @nodoc
abstract class _ $EventErrorCopyWith < $Res > {
factory _ $EventErrorCopyWith (
_EventError value , $Res Function ( _EventError ) then ) =
__ $EventErrorCopyWithImpl < $Res > ;
$Res call ( { int code } ) ;
}
/// @nodoc
class __ $EventErrorCopyWithImpl < $Res >
extends _ $FingerprintEventCopyWithImpl < $Res >
implements _ $EventErrorCopyWith < $Res > {
__ $EventErrorCopyWithImpl (
_EventError _value , $Res Function ( _EventError ) _then )
: super ( _value , ( v ) = > _then ( v as _EventError ) ) ;
@ override
_EventError get _value = > super . _value as _EventError ;
@ override
$Res call ( {
Object ? code = freezed ,
} ) {
return _then ( _EventError (
code = = freezed
? _value . code
: code // ignore: cast_nullable_to_non_nullable
as int ,
) ) ;
}
}
/// @nodoc
class _ $_EventError implements _EventError {
_ $_EventError ( this . code ) ;
@ override
final int code ;
@ override
String toString ( ) {
return ' FingerprintEvent.error(code: $ code ) ' ;
}
@ override
bool operator = = ( dynamic other ) {
return identical ( this , other ) | |
( other . runtimeType = = runtimeType & &
other is _EventError & &
const DeepCollectionEquality ( ) . equals ( other . code , code ) ) ;
}
@ override
int get hashCode = >
Object . hash ( runtimeType , const DeepCollectionEquality ( ) . hash ( code ) ) ;
@ JsonKey ( ignore: true )
@ override
_ $EventErrorCopyWith < _EventError > get copyWith = >
__ $EventErrorCopyWithImpl < _EventError > ( this , _ $identity ) ;
@ override
@ optionalTypeArgs
TResult when < TResult extends Object ? > ( {
required TResult Function ( int remaining ) capture ,
required TResult Function ( String termplateId ) complete ,
required TResult Function ( int code ) error ,
} ) {
return error ( code ) ;
}
@ override
@ optionalTypeArgs
TResult ? whenOrNull < TResult extends Object ? > ( {
TResult Function ( int remaining ) ? capture ,
TResult Function ( String termplateId ) ? complete ,
TResult Function ( int code ) ? error ,
} ) {
return error ? . call ( code ) ;
}
@ override
@ optionalTypeArgs
TResult maybeWhen < TResult extends Object ? > ( {
TResult Function ( int remaining ) ? capture ,
TResult Function ( String termplateId ) ? complete ,
TResult Function ( int code ) ? error ,
required TResult orElse ( ) ,
} ) {
if ( error ! = null ) {
return error ( code ) ;
}
return orElse ( ) ;
}
@ override
@ optionalTypeArgs
TResult map < TResult extends Object ? > ( {
required TResult Function ( _EventCapture value ) capture ,
required TResult Function ( _EventComplete value ) complete ,
required TResult Function ( _EventError value ) error ,
} ) {
return error ( this ) ;
}
@ override
@ optionalTypeArgs
TResult ? mapOrNull < TResult extends Object ? > ( {
TResult Function ( _EventCapture value ) ? capture ,
TResult Function ( _EventComplete value ) ? complete ,
TResult Function ( _EventError value ) ? error ,
} ) {
return error ? . call ( this ) ;
}
@ override
@ optionalTypeArgs
TResult maybeMap < TResult extends Object ? > ( {
TResult Function ( _EventCapture value ) ? capture ,
TResult Function ( _EventComplete value ) ? complete ,
TResult Function ( _EventError value ) ? error ,
required TResult orElse ( ) ,
} ) {
if ( error ! = null ) {
return error ( this ) ;
}
return orElse ( ) ;
}
}
abstract class _EventError implements FingerprintEvent {
factory _EventError ( int code ) = _ $_EventError ;
int get code ;
@ JsonKey ( ignore: true )
_ $EventErrorCopyWith < _EventError > get copyWith = >
throw _privateConstructorUsedError ;
}
/// @nodoc
class _ $FidoCredentialTearOff {
const _ $FidoCredentialTearOff ( ) ;
_FidoCredential call ( String rpId , String credentialId , String userName ) {
return _FidoCredential (
rpId ,
credentialId ,
userName ,
) ;
}
}
/// @nodoc
const $FidoCredential = _ $FidoCredentialTearOff ( ) ;
/// @nodoc
mixin _ $FidoCredential {
String get rpId = > throw _privateConstructorUsedError ;
String get credentialId = > throw _privateConstructorUsedError ;
String get userName = > throw _privateConstructorUsedError ;
@ JsonKey ( ignore: true )
$FidoCredentialCopyWith < FidoCredential > get copyWith = >
throw _privateConstructorUsedError ;
}
/// @nodoc
abstract class $FidoCredentialCopyWith < $Res > {
factory $FidoCredentialCopyWith (
FidoCredential value , $Res Function ( FidoCredential ) then ) =
_ $FidoCredentialCopyWithImpl < $Res > ;
$Res call ( { String rpId , String credentialId , String userName } ) ;
}
/// @nodoc
class _ $FidoCredentialCopyWithImpl < $Res >
implements $FidoCredentialCopyWith < $Res > {
_ $FidoCredentialCopyWithImpl ( this . _value , this . _then ) ;
final FidoCredential _value ;
// ignore: unused_field
final $Res Function ( FidoCredential ) _then ;
@ override
$Res call ( {
Object ? rpId = freezed ,
Object ? credentialId = freezed ,
Object ? userName = freezed ,
} ) {
return _then ( _value . copyWith (
rpId: rpId = = freezed
? _value . rpId
: rpId // ignore: cast_nullable_to_non_nullable
as String ,
credentialId: credentialId = = freezed
? _value . credentialId
: credentialId // ignore: cast_nullable_to_non_nullable
as String ,
userName: userName = = freezed
? _value . userName
: userName // ignore: cast_nullable_to_non_nullable
as String ,
) ) ;
}
}
/// @nodoc
abstract class _ $FidoCredentialCopyWith < $Res >
implements $FidoCredentialCopyWith < $Res > {
factory _ $FidoCredentialCopyWith (
_FidoCredential value , $Res Function ( _FidoCredential ) then ) =
__ $FidoCredentialCopyWithImpl < $Res > ;
@ override
$Res call ( { String rpId , String credentialId , String userName } ) ;
}
/// @nodoc
class __ $FidoCredentialCopyWithImpl < $Res >
extends _ $FidoCredentialCopyWithImpl < $Res >
implements _ $FidoCredentialCopyWith < $Res > {
__ $FidoCredentialCopyWithImpl (
_FidoCredential _value , $Res Function ( _FidoCredential ) _then )
: super ( _value , ( v ) = > _then ( v as _FidoCredential ) ) ;
@ override
_FidoCredential get _value = > super . _value as _FidoCredential ;
@ override
$Res call ( {
Object ? rpId = freezed ,
Object ? credentialId = freezed ,
Object ? userName = freezed ,
} ) {
return _then ( _FidoCredential (
rpId = = freezed
? _value . rpId
: rpId // ignore: cast_nullable_to_non_nullable
as String ,
credentialId = = freezed
? _value . credentialId
: credentialId // ignore: cast_nullable_to_non_nullable
as String ,
userName = = freezed
? _value . userName
: userName // ignore: cast_nullable_to_non_nullable
as String ,
) ) ;
}
}
/// @nodoc
class _ $_FidoCredential implements _FidoCredential {
_ $_FidoCredential ( this . rpId , this . credentialId , this . userName ) ;
@ override
final String rpId ;
@ override
final String credentialId ;
@ override
final String userName ;
@ override
String toString ( ) {
return ' FidoCredential(rpId: $ rpId , credentialId: $ credentialId , userName: $ userName ) ' ;
}
@ override
bool operator = = ( dynamic other ) {
return identical ( this , other ) | |
( other . runtimeType = = runtimeType & &
other is _FidoCredential & &
const DeepCollectionEquality ( ) . equals ( other . rpId , rpId ) & &
const DeepCollectionEquality ( )
. equals ( other . credentialId , credentialId ) & &
const DeepCollectionEquality ( ) . equals ( other . userName , userName ) ) ;
}
@ override
int get hashCode = > Object . hash (
runtimeType ,
const DeepCollectionEquality ( ) . hash ( rpId ) ,
const DeepCollectionEquality ( ) . hash ( credentialId ) ,
const DeepCollectionEquality ( ) . hash ( userName ) ) ;
@ JsonKey ( ignore: true )
@ override
_ $FidoCredentialCopyWith < _FidoCredential > get copyWith = >
__ $FidoCredentialCopyWithImpl < _FidoCredential > ( this , _ $identity ) ;
}
abstract class _FidoCredential implements FidoCredential {
factory _FidoCredential ( String rpId , String credentialId , String userName ) =
_ $_FidoCredential ;
@ override
String get rpId ;
@ override
String get credentialId ;
@ override
String get userName ;
@ override
@ JsonKey ( ignore: true )
_ $FidoCredentialCopyWith < _FidoCredential > get copyWith = >
2022-03-17 15:06:48 +03:00
throw _privateConstructorUsedError ;
}