// 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 'wangp_modeli.dart'; // ************************************************************************** // FreezedGenerator // ************************************************************************** T _$identity(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.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', ); WangpModeli _$WangpModeliFromJson(Map json) { return _WangpModeli.fromJson(json); } /// @nodoc mixin _$WangpModeli { String get id => throw _privateConstructorUsedError; String get ad => throw _privateConstructorUsedError; ModelTipi get tipi => throw _privateConstructorUsedError; String get aciklama => throw _privateConstructorUsedError; Map get varsayilanAyarlar => throw _privateConstructorUsedError; int? get gerekenVram => throw _privateConstructorUsedError; // GB int? get kilipliInfererSteps => throw _privateConstructorUsedError; /// Serializes this WangpModeli to a JSON map. Map toJson() => throw _privateConstructorUsedError; /// Create a copy of WangpModeli /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $WangpModeliCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $WangpModeliCopyWith<$Res> { factory $WangpModeliCopyWith( WangpModeli value, $Res Function(WangpModeli) then, ) = _$WangpModeliCopyWithImpl<$Res, WangpModeli>; @useResult $Res call({ String id, String ad, ModelTipi tipi, String aciklama, Map varsayilanAyarlar, int? gerekenVram, int? kilipliInfererSteps, }); } /// @nodoc class _$WangpModeliCopyWithImpl<$Res, $Val extends WangpModeli> implements $WangpModeliCopyWith<$Res> { _$WangpModeliCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of WangpModeli /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? id = null, Object? ad = null, Object? tipi = null, Object? aciklama = null, Object? varsayilanAyarlar = null, Object? gerekenVram = freezed, Object? kilipliInfererSteps = freezed, }) { return _then( _value.copyWith( id: null == id ? _value.id : id // ignore: cast_nullable_to_non_nullable as String, ad: null == ad ? _value.ad : ad // ignore: cast_nullable_to_non_nullable as String, tipi: null == tipi ? _value.tipi : tipi // ignore: cast_nullable_to_non_nullable as ModelTipi, aciklama: null == aciklama ? _value.aciklama : aciklama // ignore: cast_nullable_to_non_nullable as String, varsayilanAyarlar: null == varsayilanAyarlar ? _value.varsayilanAyarlar : varsayilanAyarlar // ignore: cast_nullable_to_non_nullable as Map, gerekenVram: freezed == gerekenVram ? _value.gerekenVram : gerekenVram // ignore: cast_nullable_to_non_nullable as int?, kilipliInfererSteps: freezed == kilipliInfererSteps ? _value.kilipliInfererSteps : kilipliInfererSteps // ignore: cast_nullable_to_non_nullable as int?, ) as $Val, ); } } /// @nodoc abstract class _$$WangpModeliImplCopyWith<$Res> implements $WangpModeliCopyWith<$Res> { factory _$$WangpModeliImplCopyWith( _$WangpModeliImpl value, $Res Function(_$WangpModeliImpl) then, ) = __$$WangpModeliImplCopyWithImpl<$Res>; @override @useResult $Res call({ String id, String ad, ModelTipi tipi, String aciklama, Map varsayilanAyarlar, int? gerekenVram, int? kilipliInfererSteps, }); } /// @nodoc class __$$WangpModeliImplCopyWithImpl<$Res> extends _$WangpModeliCopyWithImpl<$Res, _$WangpModeliImpl> implements _$$WangpModeliImplCopyWith<$Res> { __$$WangpModeliImplCopyWithImpl( _$WangpModeliImpl _value, $Res Function(_$WangpModeliImpl) _then, ) : super(_value, _then); /// Create a copy of WangpModeli /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? id = null, Object? ad = null, Object? tipi = null, Object? aciklama = null, Object? varsayilanAyarlar = null, Object? gerekenVram = freezed, Object? kilipliInfererSteps = freezed, }) { return _then( _$WangpModeliImpl( id: null == id ? _value.id : id // ignore: cast_nullable_to_non_nullable as String, ad: null == ad ? _value.ad : ad // ignore: cast_nullable_to_non_nullable as String, tipi: null == tipi ? _value.tipi : tipi // ignore: cast_nullable_to_non_nullable as ModelTipi, aciklama: null == aciklama ? _value.aciklama : aciklama // ignore: cast_nullable_to_non_nullable as String, varsayilanAyarlar: null == varsayilanAyarlar ? _value._varsayilanAyarlar : varsayilanAyarlar // ignore: cast_nullable_to_non_nullable as Map, gerekenVram: freezed == gerekenVram ? _value.gerekenVram : gerekenVram // ignore: cast_nullable_to_non_nullable as int?, kilipliInfererSteps: freezed == kilipliInfererSteps ? _value.kilipliInfererSteps : kilipliInfererSteps // ignore: cast_nullable_to_non_nullable as int?, ), ); } } /// @nodoc @JsonSerializable() class _$WangpModeliImpl implements _WangpModeli { const _$WangpModeliImpl({ required this.id, required this.ad, this.tipi = ModelTipi.videoI2V, this.aciklama = '', final Map varsayilanAyarlar = const {}, this.gerekenVram, this.kilipliInfererSteps, }) : _varsayilanAyarlar = varsayilanAyarlar; factory _$WangpModeliImpl.fromJson(Map json) => _$$WangpModeliImplFromJson(json); @override final String id; @override final String ad; @override @JsonKey() final ModelTipi tipi; @override @JsonKey() final String aciklama; final Map _varsayilanAyarlar; @override @JsonKey() Map get varsayilanAyarlar { if (_varsayilanAyarlar is EqualUnmodifiableMapView) return _varsayilanAyarlar; // ignore: implicit_dynamic_type return EqualUnmodifiableMapView(_varsayilanAyarlar); } @override final int? gerekenVram; // GB @override final int? kilipliInfererSteps; @override String toString() { return 'WangpModeli(id: $id, ad: $ad, tipi: $tipi, aciklama: $aciklama, varsayilanAyarlar: $varsayilanAyarlar, gerekenVram: $gerekenVram, kilipliInfererSteps: $kilipliInfererSteps)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$WangpModeliImpl && (identical(other.id, id) || other.id == id) && (identical(other.ad, ad) || other.ad == ad) && (identical(other.tipi, tipi) || other.tipi == tipi) && (identical(other.aciklama, aciklama) || other.aciklama == aciklama) && const DeepCollectionEquality().equals( other._varsayilanAyarlar, _varsayilanAyarlar, ) && (identical(other.gerekenVram, gerekenVram) || other.gerekenVram == gerekenVram) && (identical(other.kilipliInfererSteps, kilipliInfererSteps) || other.kilipliInfererSteps == kilipliInfererSteps)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash( runtimeType, id, ad, tipi, aciklama, const DeepCollectionEquality().hash(_varsayilanAyarlar), gerekenVram, kilipliInfererSteps, ); /// Create a copy of WangpModeli /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$WangpModeliImplCopyWith<_$WangpModeliImpl> get copyWith => __$$WangpModeliImplCopyWithImpl<_$WangpModeliImpl>(this, _$identity); @override Map toJson() { return _$$WangpModeliImplToJson(this); } } abstract class _WangpModeli implements WangpModeli { const factory _WangpModeli({ required final String id, required final String ad, final ModelTipi tipi, final String aciklama, final Map varsayilanAyarlar, final int? gerekenVram, final int? kilipliInfererSteps, }) = _$WangpModeliImpl; factory _WangpModeli.fromJson(Map json) = _$WangpModeliImpl.fromJson; @override String get id; @override String get ad; @override ModelTipi get tipi; @override String get aciklama; @override Map get varsayilanAyarlar; @override int? get gerekenVram; // GB @override int? get kilipliInfererSteps; /// Create a copy of WangpModeli /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$WangpModeliImplCopyWith<_$WangpModeliImpl> get copyWith => throw _privateConstructorUsedError; }