2021-11-19 13:10:00 +03:00
// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
2022-05-12 12:06:28 +03:00
// ignore_for_file: type=lint
2021-11-19 13:10:00 +03:00
// 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 (
2022-05-12 12:06:28 +03:00
' 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 information: https://github.com/rrousselGit/freezed#custom-getters-and-methods ' ) ;
2021-11-19 13:10:00 +03:00
/// @nodoc
mixin _ $Version {
int get major = > throw _privateConstructorUsedError ;
int get minor = > throw _privateConstructorUsedError ;
int get patch = > throw _privateConstructorUsedError ;
@ JsonKey ( ignore: true )
$VersionCopyWith < Version > get copyWith = > throw _privateConstructorUsedError ;
}
/// @nodoc
abstract class $VersionCopyWith < $Res > {
factory $VersionCopyWith ( Version value , $Res Function ( Version ) then ) =
2022-10-19 12:15:48 +03:00
_ $VersionCopyWithImpl < $Res , Version > ;
@ useResult
2021-11-19 13:10:00 +03:00
$Res call ( { int major , int minor , int patch } ) ;
}
/// @nodoc
2022-10-19 12:15:48 +03:00
class _ $VersionCopyWithImpl < $Res , $Val extends Version >
implements $VersionCopyWith < $Res > {
2021-11-19 13:10:00 +03:00
_ $VersionCopyWithImpl ( this . _value , this . _then ) ;
// ignore: unused_field
2022-10-19 12:15:48 +03:00
final $Val _value ;
// ignore: unused_field
final $Res Function ( $Val ) _then ;
2021-11-19 13:10:00 +03:00
2022-10-19 12:15:48 +03:00
@ pragma ( ' vm:prefer-inline ' )
2021-11-19 13:10:00 +03:00
@ override
$Res call ( {
2022-10-19 12:15:48 +03:00
Object ? major = null ,
Object ? minor = null ,
Object ? patch = null ,
2021-11-19 13:10:00 +03:00
} ) {
return _then ( _value . copyWith (
2022-10-19 12:15:48 +03:00
major: null = = major
2021-11-19 13:10:00 +03:00
? _value . major
: major // ignore: cast_nullable_to_non_nullable
as int ,
2022-10-19 12:15:48 +03:00
minor: null = = minor
2021-11-19 13:10:00 +03:00
? _value . minor
: minor // ignore: cast_nullable_to_non_nullable
as int ,
2022-10-19 12:15:48 +03:00
patch: null = = patch
2021-11-19 13:10:00 +03:00
? _value . patch
: patch // ignore: cast_nullable_to_non_nullable
as int ,
2022-10-19 12:15:48 +03:00
) as $Val ) ;
2021-11-19 13:10:00 +03:00
}
}
/// @nodoc
2022-05-12 12:06:28 +03:00
abstract class _ $ $_VersionCopyWith < $Res > implements $VersionCopyWith < $Res > {
factory _ $ $_VersionCopyWith (
_ $_Version value , $Res Function ( _ $_Version ) then ) =
__ $ $_VersionCopyWithImpl < $Res > ;
2021-11-19 13:10:00 +03:00
@ override
2022-10-19 12:15:48 +03:00
@ useResult
2021-11-19 13:10:00 +03:00
$Res call ( { int major , int minor , int patch } ) ;
}
/// @nodoc
2022-10-19 12:15:48 +03:00
class __ $ $_VersionCopyWithImpl < $Res >
extends _ $VersionCopyWithImpl < $Res , _ $_Version >
2022-05-12 12:06:28 +03:00
implements _ $ $_VersionCopyWith < $Res > {
__ $ $_VersionCopyWithImpl ( _ $_Version _value , $Res Function ( _ $_Version ) _then )
2022-10-19 12:15:48 +03:00
: super ( _value , _then ) ;
2021-11-19 13:10:00 +03:00
2022-10-19 12:15:48 +03:00
@ pragma ( ' vm:prefer-inline ' )
2021-11-19 13:10:00 +03:00
@ override
$Res call ( {
2022-10-19 12:15:48 +03:00
Object ? major = null ,
Object ? minor = null ,
Object ? patch = null ,
2021-11-19 13:10:00 +03:00
} ) {
2022-05-12 12:06:28 +03:00
return _then ( _ $_Version (
2022-10-19 12:15:48 +03:00
null = = major
2021-11-19 13:10:00 +03:00
? _value . major
: major // ignore: cast_nullable_to_non_nullable
as int ,
2022-10-19 12:15:48 +03:00
null = = minor
2021-11-19 13:10:00 +03:00
? _value . minor
: minor // ignore: cast_nullable_to_non_nullable
as int ,
2022-10-19 12:15:48 +03:00
null = = patch
2021-11-19 13:10:00 +03:00
? _value . patch
: patch // ignore: cast_nullable_to_non_nullable
as int ,
) ) ;
}
}
/// @nodoc
class _ $_Version extends _Version {
2022-06-02 10:45:48 +03:00
const _ $_Version ( this . major , this . minor , this . patch )
: assert ( major > = 0 ) ,
assert ( major < 256 ) ,
assert ( minor > = 0 ) ,
assert ( minor < 256 ) ,
assert ( patch > = 0 ) ,
assert ( patch < 256 ) ,
super . _ ( ) ;
2021-11-19 13:10:00 +03:00
@ override
final int major ;
@ override
final int minor ;
@ override
final int patch ;
@ override
bool operator = = ( dynamic other ) {
return identical ( this , other ) | |
( other . runtimeType = = runtimeType & &
2022-05-12 12:06:28 +03:00
other is _ $_Version & &
2022-10-19 12:15:48 +03:00
( identical ( other . major , major ) | | other . major = = major ) & &
( identical ( other . minor , minor ) | | other . minor = = minor ) & &
( identical ( other . patch , patch ) | | other . patch = = patch ) ) ;
2021-11-19 13:10:00 +03:00
}
@ override
2022-10-19 12:15:48 +03:00
int get hashCode = > Object . hash ( runtimeType , major , minor , patch ) ;
2021-11-19 13:10:00 +03:00
@ JsonKey ( ignore: true )
@ override
2022-10-19 12:15:48 +03:00
@ pragma ( ' vm:prefer-inline ' )
2022-05-12 12:06:28 +03:00
_ $ $_VersionCopyWith < _ $_Version > get copyWith = >
__ $ $_VersionCopyWithImpl < _ $_Version > ( this , _ $identity ) ;
2021-11-19 13:10:00 +03:00
}
abstract class _Version extends Version {
2022-05-12 12:06:28 +03:00
const factory _Version ( final int major , final int minor , final int patch ) =
_ $_Version ;
2021-11-19 13:10:00 +03:00
const _Version . _ ( ) : super . _ ( ) ;
@ override
2022-07-07 11:29:42 +03:00
int get major ;
2021-11-19 13:10:00 +03:00
@ override
2022-07-07 11:29:42 +03:00
int get minor ;
2021-11-19 13:10:00 +03:00
@ override
2022-07-07 11:29:42 +03:00
int get patch ;
2021-11-19 13:10:00 +03:00
@ override
@ JsonKey ( ignore: true )
2022-05-12 12:06:28 +03:00
_ $ $_VersionCopyWith < _ $_Version > get copyWith = >
2021-11-19 13:10:00 +03:00
throw _privateConstructorUsedError ;
}
2022-01-31 13:02:34 +03:00
/// @nodoc
mixin _ $Pair < T1 , T2 > {
T1 get first = > throw _privateConstructorUsedError ;
T2 get second = > throw _privateConstructorUsedError ;
@ JsonKey ( ignore: true )
$PairCopyWith < T1 , T2 , Pair < T1 , T2 > > get copyWith = >
throw _privateConstructorUsedError ;
}
/// @nodoc
abstract class $PairCopyWith < T1 , T2 , $Res > {
factory $PairCopyWith ( Pair < T1 , T2 > value , $Res Function ( Pair < T1 , T2 > ) then ) =
2022-10-19 12:15:48 +03:00
_ $PairCopyWithImpl < T1 , T2 , $Res , Pair < T1 , T2 > > ;
@ useResult
2022-01-31 13:02:34 +03:00
$Res call ( { T1 first , T2 second } ) ;
}
/// @nodoc
2022-10-19 12:15:48 +03:00
class _ $PairCopyWithImpl < T1 , T2 , $Res , $Val extends Pair < T1 , T2 > >
implements $PairCopyWith < T1 , T2 , $Res > {
2022-01-31 13:02:34 +03:00
_ $PairCopyWithImpl ( this . _value , this . _then ) ;
// ignore: unused_field
2022-10-19 12:15:48 +03:00
final $Val _value ;
// ignore: unused_field
final $Res Function ( $Val ) _then ;
2022-01-31 13:02:34 +03:00
2022-10-19 12:15:48 +03:00
@ pragma ( ' vm:prefer-inline ' )
2022-01-31 13:02:34 +03:00
@ override
$Res call ( {
2022-10-19 12:15:48 +03:00
Object ? first = null ,
Object ? second = null ,
2022-01-31 13:02:34 +03:00
} ) {
return _then ( _value . copyWith (
2022-10-19 12:15:48 +03:00
first: null = = first
2022-01-31 13:02:34 +03:00
? _value . first
: first // ignore: cast_nullable_to_non_nullable
as T1 ,
2022-10-19 12:15:48 +03:00
second: null = = second
2022-01-31 13:02:34 +03:00
? _value . second
: second // ignore: cast_nullable_to_non_nullable
as T2 ,
2022-10-19 12:15:48 +03:00
) as $Val ) ;
2022-01-31 13:02:34 +03:00
}
}
/// @nodoc
2022-05-12 12:06:28 +03:00
abstract class _ $ $_PairCopyWith < T1 , T2 , $Res >
2022-01-31 13:02:34 +03:00
implements $PairCopyWith < T1 , T2 , $Res > {
2022-05-12 12:06:28 +03:00
factory _ $ $_PairCopyWith (
_ $_Pair < T1 , T2 > value , $Res Function ( _ $_Pair < T1 , T2 > ) then ) =
__ $ $_PairCopyWithImpl < T1 , T2 , $Res > ;
2022-01-31 13:02:34 +03:00
@ override
2022-10-19 12:15:48 +03:00
@ useResult
2022-01-31 13:02:34 +03:00
$Res call ( { T1 first , T2 second } ) ;
}
/// @nodoc
2022-05-12 12:06:28 +03:00
class __ $ $_PairCopyWithImpl < T1 , T2 , $Res >
2022-10-19 12:15:48 +03:00
extends _ $PairCopyWithImpl < T1 , T2 , $Res , _ $_Pair < T1 , T2 > >
2022-05-12 12:06:28 +03:00
implements _ $ $_PairCopyWith < T1 , T2 , $Res > {
__ $ $_PairCopyWithImpl (
_ $_Pair < T1 , T2 > _value , $Res Function ( _ $_Pair < T1 , T2 > ) _then )
2022-10-19 12:15:48 +03:00
: super ( _value , _then ) ;
2022-01-31 13:02:34 +03:00
2022-10-19 12:15:48 +03:00
@ pragma ( ' vm:prefer-inline ' )
2022-01-31 13:02:34 +03:00
@ override
$Res call ( {
2022-10-19 12:15:48 +03:00
Object ? first = null ,
Object ? second = null ,
2022-01-31 13:02:34 +03:00
} ) {
2022-05-12 12:06:28 +03:00
return _then ( _ $_Pair < T1 , T2 > (
2022-10-19 12:15:48 +03:00
null = = first
2022-01-31 13:02:34 +03:00
? _value . first
: first // ignore: cast_nullable_to_non_nullable
as T1 ,
2022-10-19 12:15:48 +03:00
null = = second
2022-01-31 13:02:34 +03:00
? _value . second
: second // ignore: cast_nullable_to_non_nullable
as T2 ,
) ) ;
}
}
/// @nodoc
class _ $_Pair < T1 , T2 > implements _Pair < T1 , T2 > {
_ $_Pair ( this . first , this . second ) ;
@ override
final T1 first ;
@ override
final T2 second ;
@ override
String toString ( ) {
return ' Pair< $ T1 , $ T2 >(first: $ first , second: $ second ) ' ;
}
@ override
bool operator = = ( dynamic other ) {
return identical ( this , other ) | |
( other . runtimeType = = runtimeType & &
2022-05-12 12:06:28 +03:00
other is _ $_Pair < T1 , T2 > & &
2022-01-31 13:02:34 +03:00
const DeepCollectionEquality ( ) . equals ( other . first , first ) & &
const DeepCollectionEquality ( ) . equals ( other . second , second ) ) ;
}
@ override
int get hashCode = > Object . hash (
runtimeType ,
const DeepCollectionEquality ( ) . hash ( first ) ,
const DeepCollectionEquality ( ) . hash ( second ) ) ;
@ JsonKey ( ignore: true )
@ override
2022-10-19 12:15:48 +03:00
@ pragma ( ' vm:prefer-inline ' )
2022-05-12 12:06:28 +03:00
_ $ $_PairCopyWith < T1 , T2 , _ $_Pair < T1 , T2 > > get copyWith = >
__ $ $_PairCopyWithImpl < T1 , T2 , _ $_Pair < T1 , T2 > > ( this , _ $identity ) ;
2022-01-31 13:02:34 +03:00
}
abstract class _Pair < T1 , T2 > implements Pair < T1 , T2 > {
2022-05-12 12:06:28 +03:00
factory _Pair ( final T1 first , final T2 second ) = _ $_Pair < T1 , T2 > ;
2022-01-31 13:02:34 +03:00
@ override
2022-07-07 11:29:42 +03:00
T1 get first ;
2022-01-31 13:02:34 +03:00
@ override
2022-07-07 11:29:42 +03:00
T2 get second ;
2022-01-31 13:02:34 +03:00
@ override
@ JsonKey ( ignore: true )
2022-05-12 12:06:28 +03:00
_ $ $_PairCopyWith < T1 , T2 , _ $_Pair < T1 , T2 > > get copyWith = >
2022-01-31 13:02:34 +03:00
throw _privateConstructorUsedError ;
}