2025-09-18 10:39:54 +07:00
// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
// 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 'game_dtos.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 information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models' ,
);
GameDto _$GameDtoFromJson ( Map < String , dynamic > json ) {
return _GameDto . fromJson ( json );
}
/// @nodoc
mixin _$GameDto {
@ JsonKey ( name: 'id' )
String ? get id => throw _privateConstructorUsedError ;
@ JsonKey ( name: 'name' )
String ? get name => throw _privateConstructorUsedError ;
@ JsonKey ( name: 'type' )
String ? get type => throw _privateConstructorUsedError ;
@ JsonKey ( name: 'is_active' )
bool ? get isActive => throw _privateConstructorUsedError ;
@ JsonKey ( name: 'metadata' )
Map < String , dynamic >? get metadata => throw _privateConstructorUsedError ;
2025-09-18 14:53:39 +07:00
@ JsonKey ( name: 'prizes' )
List < GamePrizeDto >? get prizes => throw _privateConstructorUsedError ;
2025-09-18 10:39:54 +07:00
@ JsonKey ( name: 'created_at' )
String ? get createdAt => throw _privateConstructorUsedError ;
@ JsonKey ( name: 'updated_at' )
String ? get updatedAt => throw _privateConstructorUsedError ;
/// Serializes this GameDto to a JSON map.
Map < String , dynamic > toJson () => throw _privateConstructorUsedError ;
/// Create a copy of GameDto
/// with the given fields replaced by the non-null parameter values.
@ JsonKey ( includeFromJson: false , includeToJson: false )
$GameDtoCopyWith < GameDto > get copyWith => throw _privateConstructorUsedError ;
}
/// @nodoc
abstract class $GameDtoCopyWith < $Res > {
factory $GameDtoCopyWith ( GameDto value , $Res Function ( GameDto ) then ) =
_$GameDtoCopyWithImpl < $Res , GameDto > ;
@ useResult
$Res call ({
@ JsonKey ( name: 'id' ) String ? id ,
@ JsonKey ( name: 'name' ) String ? name ,
@ JsonKey ( name: 'type' ) String ? type ,
@ JsonKey ( name: 'is_active' ) bool ? isActive ,
@ JsonKey ( name: 'metadata' ) Map < String , dynamic >? metadata ,
2025-09-18 14:53:39 +07:00
@ JsonKey ( name: 'prizes' ) List < GamePrizeDto >? prizes ,
2025-09-18 10:39:54 +07:00
@ JsonKey ( name: 'created_at' ) String ? createdAt ,
@ JsonKey ( name: 'updated_at' ) String ? updatedAt ,
});
}
/// @nodoc
class _ $GameDtoCopyWithImpl < $Res , $Val extends GameDto >
implements $GameDtoCopyWith < $Res > {
_$GameDtoCopyWithImpl ( this . _value , this . _then );
// ignore: unused_field
final $Val _value ;
// ignore: unused_field
final $Res Function ( $Val ) _then ;
/// Create a copy of GameDto
/// with the given fields replaced by the non-null parameter values.
@ pragma ( 'vm:prefer-inline' )
@ override
$Res call ({
Object ? id = freezed ,
Object ? name = freezed ,
Object ? type = freezed ,
Object ? isActive = freezed ,
Object ? metadata = freezed ,
2025-09-18 14:53:39 +07:00
Object ? prizes = freezed ,
2025-09-18 10:39:54 +07:00
Object ? createdAt = freezed ,
Object ? updatedAt = freezed ,
}) {
return _then (
_value . copyWith (
id: freezed == id
? _value . id
: id // ignore: cast_nullable_to_non_nullable
as String ? ,
name: freezed == name
? _value . name
: name // ignore: cast_nullable_to_non_nullable
as String ? ,
type: freezed == type
? _value . type
: type // ignore: cast_nullable_to_non_nullable
as String ? ,
isActive: freezed == isActive
? _value . isActive
: isActive // ignore: cast_nullable_to_non_nullable
as bool ? ,
metadata: freezed == metadata
? _value . metadata
: metadata // ignore: cast_nullable_to_non_nullable
as Map < String , dynamic >? ,
2025-09-18 14:53:39 +07:00
prizes: freezed == prizes
? _value . prizes
: prizes // ignore: cast_nullable_to_non_nullable
as List < GamePrizeDto >? ,
2025-09-18 10:39:54 +07:00
createdAt: freezed == createdAt
? _value . createdAt
: createdAt // ignore: cast_nullable_to_non_nullable
as String ? ,
updatedAt: freezed == updatedAt
? _value . updatedAt
: updatedAt // ignore: cast_nullable_to_non_nullable
as String ? ,
)
as $Val ,
);
}
}
/// @nodoc
abstract class _ $$GameDtoImplCopyWith < $Res > implements $GameDtoCopyWith < $Res > {
factory _$$GameDtoImplCopyWith (
_$GameDtoImpl value ,
$Res Function ( _$GameDtoImpl ) then ,
) = __$$GameDtoImplCopyWithImpl < $Res > ;
@ override
@ useResult
$Res call ({
@ JsonKey ( name: 'id' ) String ? id ,
@ JsonKey ( name: 'name' ) String ? name ,
@ JsonKey ( name: 'type' ) String ? type ,
@ JsonKey ( name: 'is_active' ) bool ? isActive ,
@ JsonKey ( name: 'metadata' ) Map < String , dynamic >? metadata ,
2025-09-18 14:53:39 +07:00
@ JsonKey ( name: 'prizes' ) List < GamePrizeDto >? prizes ,
2025-09-18 10:39:54 +07:00
@ JsonKey ( name: 'created_at' ) String ? createdAt ,
@ JsonKey ( name: 'updated_at' ) String ? updatedAt ,
});
}
/// @nodoc
class __ $$GameDtoImplCopyWithImpl < $Res >
extends _$GameDtoCopyWithImpl < $Res , _$GameDtoImpl >
implements _$$GameDtoImplCopyWith < $Res > {
__$$GameDtoImplCopyWithImpl (
_$GameDtoImpl _value ,
$Res Function ( _$GameDtoImpl ) _then ,
) : super ( _value , _then );
/// Create a copy of GameDto
/// with the given fields replaced by the non-null parameter values.
@ pragma ( 'vm:prefer-inline' )
@ override
$Res call ({
Object ? id = freezed ,
Object ? name = freezed ,
Object ? type = freezed ,
Object ? isActive = freezed ,
Object ? metadata = freezed ,
2025-09-18 14:53:39 +07:00
Object ? prizes = freezed ,
2025-09-18 10:39:54 +07:00
Object ? createdAt = freezed ,
Object ? updatedAt = freezed ,
}) {
return _then (
_$GameDtoImpl (
id: freezed == id
? _value . id
: id // ignore: cast_nullable_to_non_nullable
as String ? ,
name: freezed == name
? _value . name
: name // ignore: cast_nullable_to_non_nullable
as String ? ,
type: freezed == type
? _value . type
: type // ignore: cast_nullable_to_non_nullable
as String ? ,
isActive: freezed == isActive
? _value . isActive
: isActive // ignore: cast_nullable_to_non_nullable
as bool ? ,
metadata: freezed == metadata
? _value . _metadata
: metadata // ignore: cast_nullable_to_non_nullable
as Map < String , dynamic >? ,
2025-09-18 14:53:39 +07:00
prizes: freezed == prizes
? _value . _prizes
: prizes // ignore: cast_nullable_to_non_nullable
as List < GamePrizeDto >? ,
2025-09-18 10:39:54 +07:00
createdAt: freezed == createdAt
? _value . createdAt
: createdAt // ignore: cast_nullable_to_non_nullable
as String ? ,
updatedAt: freezed == updatedAt
? _value . updatedAt
: updatedAt // ignore: cast_nullable_to_non_nullable
as String ? ,
),
);
}
}
/// @nodoc
@ JsonSerializable ()
class _ $GameDtoImpl extends _GameDto {
const _$GameDtoImpl ({
@ JsonKey ( name: 'id' ) this . id ,
@ JsonKey ( name: 'name' ) this . name ,
@ JsonKey ( name: 'type' ) this . type ,
@ JsonKey ( name: 'is_active' ) this . isActive ,
@ JsonKey ( name: 'metadata' ) final Map < String , dynamic >? metadata ,
2025-09-18 14:53:39 +07:00
@ JsonKey ( name: 'prizes' ) final List < GamePrizeDto >? prizes ,
2025-09-18 10:39:54 +07:00
@ JsonKey ( name: 'created_at' ) this . createdAt ,
@ JsonKey ( name: 'updated_at' ) this . updatedAt ,
}) : _metadata = metadata ,
2025-09-18 14:53:39 +07:00
_prizes = prizes ,
2025-09-18 10:39:54 +07:00
super . _ ();
factory _$GameDtoImpl . fromJson ( Map < String , dynamic > json ) =>
_$$GameDtoImplFromJson ( json );
@ override
@ JsonKey ( name: 'id' )
final String ? id ;
@ override
@ JsonKey ( name: 'name' )
final String ? name ;
@ override
@ JsonKey ( name: 'type' )
final String ? type ;
@ override
@ JsonKey ( name: 'is_active' )
final bool ? isActive ;
final Map < String , dynamic >? _metadata ;
@ override
@ JsonKey ( name: 'metadata' )
Map < String , dynamic >? get metadata {
final value = _metadata ;
if ( value == null ) return null ;
if ( _metadata is EqualUnmodifiableMapView ) return _metadata ;
// ignore: implicit_dynamic_type
return EqualUnmodifiableMapView ( value );
}
2025-09-18 14:53:39 +07:00
final List < GamePrizeDto >? _prizes ;
@ override
@ JsonKey ( name: 'prizes' )
List < GamePrizeDto >? get prizes {
final value = _prizes ;
if ( value == null ) return null ;
if ( _prizes is EqualUnmodifiableListView ) return _prizes ;
// ignore: implicit_dynamic_type
return EqualUnmodifiableListView ( value );
}
2025-09-18 10:39:54 +07:00
@ override
@ JsonKey ( name: 'created_at' )
final String ? createdAt ;
@ override
@ JsonKey ( name: 'updated_at' )
final String ? updatedAt ;
@ override
String toString () {
2025-09-18 14:53:39 +07:00
return 'GameDto(id: $ id , name: $ name , type: $ type , isActive: $ isActive , metadata: $ metadata , prizes: $ prizes , createdAt: $ createdAt , updatedAt: $ updatedAt )' ;
2025-09-18 10:39:54 +07:00
}
@ override
bool operator == ( Object other ) {
return identical ( this , other ) ||
( other . runtimeType == runtimeType &&
other is _$GameDtoImpl &&
( identical ( other . id , id ) || other . id == id ) &&
( identical ( other . name , name ) || other . name == name ) &&
( identical ( other . type , type ) || other . type == type ) &&
( identical ( other . isActive , isActive ) ||
other . isActive == isActive ) &&
const DeepCollectionEquality (). equals ( other . _metadata , _metadata ) &&
2025-09-18 14:53:39 +07:00
const DeepCollectionEquality (). equals ( other . _prizes , _prizes ) &&
2025-09-18 10:39:54 +07:00
( identical ( other . createdAt , createdAt ) ||
other . createdAt == createdAt ) &&
( identical ( other . updatedAt , updatedAt ) ||
other . updatedAt == updatedAt ));
}
@ JsonKey ( includeFromJson: false , includeToJson: false )
@ override
int get hashCode => Object . hash (
runtimeType ,
id ,
name ,
type ,
isActive ,
const DeepCollectionEquality (). hash ( _metadata ),
2025-09-18 14:53:39 +07:00
const DeepCollectionEquality (). hash ( _prizes ),
2025-09-18 10:39:54 +07:00
createdAt ,
updatedAt ,
);
/// Create a copy of GameDto
/// with the given fields replaced by the non-null parameter values.
@ JsonKey ( includeFromJson: false , includeToJson: false )
@ override
@ pragma ( 'vm:prefer-inline' )
_$$GameDtoImplCopyWith < _$GameDtoImpl > get copyWith =>
__$$GameDtoImplCopyWithImpl < _$GameDtoImpl > ( this , _$identity );
@ override
Map < String , dynamic > toJson () {
return _$$GameDtoImplToJson ( this );
}
}
abstract class _GameDto extends GameDto {
const factory _GameDto ({
@ JsonKey ( name: 'id' ) final String ? id ,
@ JsonKey ( name: 'name' ) final String ? name ,
@ JsonKey ( name: 'type' ) final String ? type ,
@ JsonKey ( name: 'is_active' ) final bool ? isActive ,
@ JsonKey ( name: 'metadata' ) final Map < String , dynamic >? metadata ,
2025-09-18 14:53:39 +07:00
@ JsonKey ( name: 'prizes' ) final List < GamePrizeDto >? prizes ,
2025-09-18 10:39:54 +07:00
@ JsonKey ( name: 'created_at' ) final String ? createdAt ,
@ JsonKey ( name: 'updated_at' ) final String ? updatedAt ,
}) = _$GameDtoImpl ;
const _GameDto . _ () : super . _ ();
factory _GameDto . fromJson ( Map < String , dynamic > json ) = _$GameDtoImpl . fromJson ;
@ override
@ JsonKey ( name: 'id' )
String ? get id ;
@ override
@ JsonKey ( name: 'name' )
String ? get name ;
@ override
@ JsonKey ( name: 'type' )
String ? get type ;
@ override
@ JsonKey ( name: 'is_active' )
bool ? get isActive ;
@ override
@ JsonKey ( name: 'metadata' )
Map < String , dynamic >? get metadata ;
@ override
2025-09-18 14:53:39 +07:00
@ JsonKey ( name: 'prizes' )
List < GamePrizeDto >? get prizes ;
@ override
2025-09-18 10:39:54 +07:00
@ JsonKey ( name: 'created_at' )
String ? get createdAt ;
@ override
@ JsonKey ( name: 'updated_at' )
String ? get updatedAt ;
/// Create a copy of GameDto
/// with the given fields replaced by the non-null parameter values.
@ override
@ JsonKey ( includeFromJson: false , includeToJson: false )
_$$GameDtoImplCopyWith < _$GameDtoImpl > get copyWith =>
throw _privateConstructorUsedError ;
}
GamePrizeDto _$GamePrizeDtoFromJson ( Map < String , dynamic > json ) {
return _GamePrizeDto . fromJson ( json );
}
/// @nodoc
mixin _$GamePrizeDto {
@ JsonKey ( name: 'id' )
String ? get id => throw _privateConstructorUsedError ;
@ JsonKey ( name: 'game_id' )
String ? get gameId => throw _privateConstructorUsedError ;
@ JsonKey ( name: 'name' )
String ? get name => throw _privateConstructorUsedError ;
@ JsonKey ( name: 'metadata' )
Map < String , dynamic >? get metadata => throw _privateConstructorUsedError ;
@ JsonKey ( name: 'created_at' )
String ? get createdAt => throw _privateConstructorUsedError ;
@ JsonKey ( name: 'updated_at' )
String ? get updatedAt => throw _privateConstructorUsedError ;
/// Serializes this GamePrizeDto to a JSON map.
Map < String , dynamic > toJson () => throw _privateConstructorUsedError ;
/// Create a copy of GamePrizeDto
/// with the given fields replaced by the non-null parameter values.
@ JsonKey ( includeFromJson: false , includeToJson: false )
$GamePrizeDtoCopyWith < GamePrizeDto > get copyWith =>
throw _privateConstructorUsedError ;
}
/// @nodoc
abstract class $GamePrizeDtoCopyWith < $Res > {
factory $GamePrizeDtoCopyWith (
GamePrizeDto value ,
$Res Function ( GamePrizeDto ) then ,
) = _$GamePrizeDtoCopyWithImpl < $Res , GamePrizeDto > ;
@ useResult
$Res call ({
@ JsonKey ( name: 'id' ) String ? id ,
@ JsonKey ( name: 'game_id' ) String ? gameId ,
@ JsonKey ( name: 'name' ) String ? name ,
@ JsonKey ( name: 'metadata' ) Map < String , dynamic >? metadata ,
@ JsonKey ( name: 'created_at' ) String ? createdAt ,
@ JsonKey ( name: 'updated_at' ) String ? updatedAt ,
});
}
/// @nodoc
class _ $GamePrizeDtoCopyWithImpl < $Res , $Val extends GamePrizeDto >
implements $GamePrizeDtoCopyWith < $Res > {
_$GamePrizeDtoCopyWithImpl ( this . _value , this . _then );
// ignore: unused_field
final $Val _value ;
// ignore: unused_field
final $Res Function ( $Val ) _then ;
/// Create a copy of GamePrizeDto
/// with the given fields replaced by the non-null parameter values.
@ pragma ( 'vm:prefer-inline' )
@ override
$Res call ({
Object ? id = freezed ,
Object ? gameId = freezed ,
Object ? name = freezed ,
Object ? metadata = freezed ,
Object ? createdAt = freezed ,
Object ? updatedAt = freezed ,
}) {
return _then (
_value . copyWith (
id: freezed == id
? _value . id
: id // ignore: cast_nullable_to_non_nullable
as String ? ,
gameId: freezed == gameId
? _value . gameId
: gameId // ignore: cast_nullable_to_non_nullable
as String ? ,
name: freezed == name
? _value . name
: name // ignore: cast_nullable_to_non_nullable
as String ? ,
metadata: freezed == metadata
? _value . metadata
: metadata // ignore: cast_nullable_to_non_nullable
as Map < String , dynamic >? ,
createdAt: freezed == createdAt
? _value . createdAt
: createdAt // ignore: cast_nullable_to_non_nullable
as String ? ,
updatedAt: freezed == updatedAt
? _value . updatedAt
: updatedAt // ignore: cast_nullable_to_non_nullable
as String ? ,
)
as $Val ,
);
}
}
/// @nodoc
abstract class _ $$GamePrizeDtoImplCopyWith < $Res >
implements $GamePrizeDtoCopyWith < $Res > {
factory _$$GamePrizeDtoImplCopyWith (
_$GamePrizeDtoImpl value ,
$Res Function ( _$GamePrizeDtoImpl ) then ,
) = __$$GamePrizeDtoImplCopyWithImpl < $Res > ;
@ override
@ useResult
$Res call ({
@ JsonKey ( name: 'id' ) String ? id ,
@ JsonKey ( name: 'game_id' ) String ? gameId ,
@ JsonKey ( name: 'name' ) String ? name ,
@ JsonKey ( name: 'metadata' ) Map < String , dynamic >? metadata ,
@ JsonKey ( name: 'created_at' ) String ? createdAt ,
@ JsonKey ( name: 'updated_at' ) String ? updatedAt ,
});
}
/// @nodoc
class __ $$GamePrizeDtoImplCopyWithImpl < $Res >
extends _$GamePrizeDtoCopyWithImpl < $Res , _$GamePrizeDtoImpl >
implements _$$GamePrizeDtoImplCopyWith < $Res > {
__$$GamePrizeDtoImplCopyWithImpl (
_$GamePrizeDtoImpl _value ,
$Res Function ( _$GamePrizeDtoImpl ) _then ,
) : super ( _value , _then );
/// Create a copy of GamePrizeDto
/// with the given fields replaced by the non-null parameter values.
@ pragma ( 'vm:prefer-inline' )
@ override
$Res call ({
Object ? id = freezed ,
Object ? gameId = freezed ,
Object ? name = freezed ,
Object ? metadata = freezed ,
Object ? createdAt = freezed ,
Object ? updatedAt = freezed ,
}) {
return _then (
_$GamePrizeDtoImpl (
id: freezed == id
? _value . id
: id // ignore: cast_nullable_to_non_nullable
as String ? ,
gameId: freezed == gameId
? _value . gameId
: gameId // ignore: cast_nullable_to_non_nullable
as String ? ,
name: freezed == name
? _value . name
: name // ignore: cast_nullable_to_non_nullable
as String ? ,
metadata: freezed == metadata
? _value . _metadata
: metadata // ignore: cast_nullable_to_non_nullable
as Map < String , dynamic >? ,
createdAt: freezed == createdAt
? _value . createdAt
: createdAt // ignore: cast_nullable_to_non_nullable
as String ? ,
updatedAt: freezed == updatedAt
? _value . updatedAt
: updatedAt // ignore: cast_nullable_to_non_nullable
as String ? ,
),
);
}
}
/// @nodoc
@ JsonSerializable ()
class _ $GamePrizeDtoImpl extends _GamePrizeDto {
const _$GamePrizeDtoImpl ({
@ JsonKey ( name: 'id' ) this . id ,
@ JsonKey ( name: 'game_id' ) this . gameId ,
@ JsonKey ( name: 'name' ) this . name ,
@ JsonKey ( name: 'metadata' ) final Map < String , dynamic >? metadata ,
@ JsonKey ( name: 'created_at' ) this . createdAt ,
@ JsonKey ( name: 'updated_at' ) this . updatedAt ,
}) : _metadata = metadata ,
super . _ ();
factory _$GamePrizeDtoImpl . fromJson ( Map < String , dynamic > json ) =>
_$$GamePrizeDtoImplFromJson ( json );
@ override
@ JsonKey ( name: 'id' )
final String ? id ;
@ override
@ JsonKey ( name: 'game_id' )
final String ? gameId ;
@ override
@ JsonKey ( name: 'name' )
final String ? name ;
final Map < String , dynamic >? _metadata ;
@ override
@ JsonKey ( name: 'metadata' )
Map < String , dynamic >? get metadata {
final value = _metadata ;
if ( value == null ) return null ;
if ( _metadata is EqualUnmodifiableMapView ) return _metadata ;
// ignore: implicit_dynamic_type
return EqualUnmodifiableMapView ( value );
}
@ override
@ JsonKey ( name: 'created_at' )
final String ? createdAt ;
@ override
@ JsonKey ( name: 'updated_at' )
final String ? updatedAt ;
@ override
String toString () {
2025-09-18 14:53:39 +07:00
return 'GamePrizeDto(id: $ id , gameId: $ gameId , name: $ name , metadata: $ metadata , createdAt: $ createdAt , updatedAt: $ updatedAt )' ;
2025-09-18 10:39:54 +07:00
}
@ override
bool operator == ( Object other ) {
return identical ( this , other ) ||
( other . runtimeType == runtimeType &&
other is _$GamePrizeDtoImpl &&
( identical ( other . id , id ) || other . id == id ) &&
( identical ( other . gameId , gameId ) || other . gameId == gameId ) &&
( identical ( other . name , name ) || other . name == name ) &&
const DeepCollectionEquality (). equals ( other . _metadata , _metadata ) &&
( identical ( other . createdAt , createdAt ) ||
other . createdAt == createdAt ) &&
( identical ( other . updatedAt , updatedAt ) ||
other . updatedAt == updatedAt ));
}
@ JsonKey ( includeFromJson: false , includeToJson: false )
@ override
int get hashCode => Object . hash (
runtimeType ,
id ,
gameId ,
name ,
const DeepCollectionEquality (). hash ( _metadata ),
createdAt ,
updatedAt ,
);
/// Create a copy of GamePrizeDto
/// with the given fields replaced by the non-null parameter values.
@ JsonKey ( includeFromJson: false , includeToJson: false )
@ override
@ pragma ( 'vm:prefer-inline' )
_$$GamePrizeDtoImplCopyWith < _$GamePrizeDtoImpl > get copyWith =>
__$$GamePrizeDtoImplCopyWithImpl < _$GamePrizeDtoImpl > ( this , _$identity );
@ override
Map < String , dynamic > toJson () {
return _$$GamePrizeDtoImplToJson ( this );
}
}
abstract class _GamePrizeDto extends GamePrizeDto {
const factory _GamePrizeDto ({
@ JsonKey ( name: 'id' ) final String ? id ,
@ JsonKey ( name: 'game_id' ) final String ? gameId ,
@ JsonKey ( name: 'name' ) final String ? name ,
@ JsonKey ( name: 'metadata' ) final Map < String , dynamic >? metadata ,
@ JsonKey ( name: 'created_at' ) final String ? createdAt ,
@ JsonKey ( name: 'updated_at' ) final String ? updatedAt ,
}) = _$GamePrizeDtoImpl ;
const _GamePrizeDto . _ () : super . _ ();
factory _GamePrizeDto . fromJson ( Map < String , dynamic > json ) =
_$GamePrizeDtoImpl . fromJson ;
@ override
@ JsonKey ( name: 'id' )
String ? get id ;
@ override
@ JsonKey ( name: 'game_id' )
String ? get gameId ;
@ override
@ JsonKey ( name: 'name' )
String ? get name ;
@ override
@ JsonKey ( name: 'metadata' )
Map < String , dynamic >? get metadata ;
@ override
@ JsonKey ( name: 'created_at' )
String ? get createdAt ;
@ override
@ JsonKey ( name: 'updated_at' )
String ? get updatedAt ;
/// Create a copy of GamePrizeDto
/// with the given fields replaced by the non-null parameter values.
@ override
@ JsonKey ( includeFromJson: false , includeToJson: false )
_$$GamePrizeDtoImplCopyWith < _$GamePrizeDtoImpl > get copyWith =>
throw _privateConstructorUsedError ;
}