// 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 'uretim_profili.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', ); UretimProfili _$UretimProfiliFromJson(Map json) { return _UretimProfili.fromJson(json); } /// @nodoc mixin _$UretimProfili { String get id => throw _privateConstructorUsedError; String get ad => throw _privateConstructorUsedError; String get hedefDonanim => throw _privateConstructorUsedError; /// VRAM güvenlik katsayısı (1.0 = tam, 0.85 = %15 boşluk). double get vramSafetyCoefficient => throw _privateConstructorUsedError; UretimAyari get varsayilanAyar => throw _privateConstructorUsedError; bool get sistemMi => throw _privateConstructorUsedError; /// Serializes this UretimProfili to a JSON map. Map toJson() => throw _privateConstructorUsedError; /// Create a copy of UretimProfili /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $UretimProfiliCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $UretimProfiliCopyWith<$Res> { factory $UretimProfiliCopyWith( UretimProfili value, $Res Function(UretimProfili) then, ) = _$UretimProfiliCopyWithImpl<$Res, UretimProfili>; @useResult $Res call({ String id, String ad, String hedefDonanim, double vramSafetyCoefficient, UretimAyari varsayilanAyar, bool sistemMi, }); $UretimAyariCopyWith<$Res> get varsayilanAyar; } /// @nodoc class _$UretimProfiliCopyWithImpl<$Res, $Val extends UretimProfili> implements $UretimProfiliCopyWith<$Res> { _$UretimProfiliCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of UretimProfili /// 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? hedefDonanim = null, Object? vramSafetyCoefficient = null, Object? varsayilanAyar = null, Object? sistemMi = null, }) { 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, hedefDonanim: null == hedefDonanim ? _value.hedefDonanim : hedefDonanim // ignore: cast_nullable_to_non_nullable as String, vramSafetyCoefficient: null == vramSafetyCoefficient ? _value.vramSafetyCoefficient : vramSafetyCoefficient // ignore: cast_nullable_to_non_nullable as double, varsayilanAyar: null == varsayilanAyar ? _value.varsayilanAyar : varsayilanAyar // ignore: cast_nullable_to_non_nullable as UretimAyari, sistemMi: null == sistemMi ? _value.sistemMi : sistemMi // ignore: cast_nullable_to_non_nullable as bool, ) as $Val, ); } /// Create a copy of UretimProfili /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $UretimAyariCopyWith<$Res> get varsayilanAyar { return $UretimAyariCopyWith<$Res>(_value.varsayilanAyar, (value) { return _then(_value.copyWith(varsayilanAyar: value) as $Val); }); } } /// @nodoc abstract class _$$UretimProfiliImplCopyWith<$Res> implements $UretimProfiliCopyWith<$Res> { factory _$$UretimProfiliImplCopyWith( _$UretimProfiliImpl value, $Res Function(_$UretimProfiliImpl) then, ) = __$$UretimProfiliImplCopyWithImpl<$Res>; @override @useResult $Res call({ String id, String ad, String hedefDonanim, double vramSafetyCoefficient, UretimAyari varsayilanAyar, bool sistemMi, }); @override $UretimAyariCopyWith<$Res> get varsayilanAyar; } /// @nodoc class __$$UretimProfiliImplCopyWithImpl<$Res> extends _$UretimProfiliCopyWithImpl<$Res, _$UretimProfiliImpl> implements _$$UretimProfiliImplCopyWith<$Res> { __$$UretimProfiliImplCopyWithImpl( _$UretimProfiliImpl _value, $Res Function(_$UretimProfiliImpl) _then, ) : super(_value, _then); /// Create a copy of UretimProfili /// 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? hedefDonanim = null, Object? vramSafetyCoefficient = null, Object? varsayilanAyar = null, Object? sistemMi = null, }) { return _then( _$UretimProfiliImpl( 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, hedefDonanim: null == hedefDonanim ? _value.hedefDonanim : hedefDonanim // ignore: cast_nullable_to_non_nullable as String, vramSafetyCoefficient: null == vramSafetyCoefficient ? _value.vramSafetyCoefficient : vramSafetyCoefficient // ignore: cast_nullable_to_non_nullable as double, varsayilanAyar: null == varsayilanAyar ? _value.varsayilanAyar : varsayilanAyar // ignore: cast_nullable_to_non_nullable as UretimAyari, sistemMi: null == sistemMi ? _value.sistemMi : sistemMi // ignore: cast_nullable_to_non_nullable as bool, ), ); } } /// @nodoc @JsonSerializable() class _$UretimProfiliImpl implements _UretimProfili { const _$UretimProfiliImpl({ required this.id, required this.ad, this.hedefDonanim = 'RTX 4090 24GB', this.vramSafetyCoefficient = 0.85, this.varsayilanAyar = const UretimAyari(), this.sistemMi = false, }); factory _$UretimProfiliImpl.fromJson(Map json) => _$$UretimProfiliImplFromJson(json); @override final String id; @override final String ad; @override @JsonKey() final String hedefDonanim; /// VRAM güvenlik katsayısı (1.0 = tam, 0.85 = %15 boşluk). @override @JsonKey() final double vramSafetyCoefficient; @override @JsonKey() final UretimAyari varsayilanAyar; @override @JsonKey() final bool sistemMi; @override String toString() { return 'UretimProfili(id: $id, ad: $ad, hedefDonanim: $hedefDonanim, vramSafetyCoefficient: $vramSafetyCoefficient, varsayilanAyar: $varsayilanAyar, sistemMi: $sistemMi)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$UretimProfiliImpl && (identical(other.id, id) || other.id == id) && (identical(other.ad, ad) || other.ad == ad) && (identical(other.hedefDonanim, hedefDonanim) || other.hedefDonanim == hedefDonanim) && (identical(other.vramSafetyCoefficient, vramSafetyCoefficient) || other.vramSafetyCoefficient == vramSafetyCoefficient) && (identical(other.varsayilanAyar, varsayilanAyar) || other.varsayilanAyar == varsayilanAyar) && (identical(other.sistemMi, sistemMi) || other.sistemMi == sistemMi)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash( runtimeType, id, ad, hedefDonanim, vramSafetyCoefficient, varsayilanAyar, sistemMi, ); /// Create a copy of UretimProfili /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$UretimProfiliImplCopyWith<_$UretimProfiliImpl> get copyWith => __$$UretimProfiliImplCopyWithImpl<_$UretimProfiliImpl>(this, _$identity); @override Map toJson() { return _$$UretimProfiliImplToJson(this); } } abstract class _UretimProfili implements UretimProfili { const factory _UretimProfili({ required final String id, required final String ad, final String hedefDonanim, final double vramSafetyCoefficient, final UretimAyari varsayilanAyar, final bool sistemMi, }) = _$UretimProfiliImpl; factory _UretimProfili.fromJson(Map json) = _$UretimProfiliImpl.fromJson; @override String get id; @override String get ad; @override String get hedefDonanim; /// VRAM güvenlik katsayısı (1.0 = tam, 0.85 = %15 boşluk). @override double get vramSafetyCoefficient; @override UretimAyari get varsayilanAyar; @override bool get sistemMi; /// Create a copy of UretimProfili /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$UretimProfiliImplCopyWith<_$UretimProfiliImpl> get copyWith => throw _privateConstructorUsedError; }