// 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 'altyazi_satiri.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'); AltyaziSatiri _$AltyaziSatiriFromJson(Map json) { return _AltyaziSatiri.fromJson(json); } /// @nodoc mixin _$AltyaziSatiri { double get basla => throw _privateConstructorUsedError; double get bit => throw _privateConstructorUsedError; String get metin => throw _privateConstructorUsedError; /// Serializes this AltyaziSatiri to a JSON map. Map toJson() => throw _privateConstructorUsedError; /// Create a copy of AltyaziSatiri /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $AltyaziSatiriCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $AltyaziSatiriCopyWith<$Res> { factory $AltyaziSatiriCopyWith( AltyaziSatiri value, $Res Function(AltyaziSatiri) then) = _$AltyaziSatiriCopyWithImpl<$Res, AltyaziSatiri>; @useResult $Res call({double basla, double bit, String metin}); } /// @nodoc class _$AltyaziSatiriCopyWithImpl<$Res, $Val extends AltyaziSatiri> implements $AltyaziSatiriCopyWith<$Res> { _$AltyaziSatiriCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of AltyaziSatiri /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? basla = null, Object? bit = null, Object? metin = null, }) { return _then(_value.copyWith( basla: null == basla ? _value.basla : basla // ignore: cast_nullable_to_non_nullable as double, bit: null == bit ? _value.bit : bit // ignore: cast_nullable_to_non_nullable as double, metin: null == metin ? _value.metin : metin // ignore: cast_nullable_to_non_nullable as String, ) as $Val); } } /// @nodoc abstract class _$$AltyaziSatiriImplCopyWith<$Res> implements $AltyaziSatiriCopyWith<$Res> { factory _$$AltyaziSatiriImplCopyWith( _$AltyaziSatiriImpl value, $Res Function(_$AltyaziSatiriImpl) then) = __$$AltyaziSatiriImplCopyWithImpl<$Res>; @override @useResult $Res call({double basla, double bit, String metin}); } /// @nodoc class __$$AltyaziSatiriImplCopyWithImpl<$Res> extends _$AltyaziSatiriCopyWithImpl<$Res, _$AltyaziSatiriImpl> implements _$$AltyaziSatiriImplCopyWith<$Res> { __$$AltyaziSatiriImplCopyWithImpl( _$AltyaziSatiriImpl _value, $Res Function(_$AltyaziSatiriImpl) _then) : super(_value, _then); /// Create a copy of AltyaziSatiri /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? basla = null, Object? bit = null, Object? metin = null, }) { return _then(_$AltyaziSatiriImpl( basla: null == basla ? _value.basla : basla // ignore: cast_nullable_to_non_nullable as double, bit: null == bit ? _value.bit : bit // ignore: cast_nullable_to_non_nullable as double, metin: null == metin ? _value.metin : metin // ignore: cast_nullable_to_non_nullable as String, )); } } /// @nodoc @JsonSerializable() class _$AltyaziSatiriImpl implements _AltyaziSatiri { const _$AltyaziSatiriImpl( {required this.basla, required this.bit, required this.metin}); factory _$AltyaziSatiriImpl.fromJson(Map json) => _$$AltyaziSatiriImplFromJson(json); @override final double basla; @override final double bit; @override final String metin; @override String toString() { return 'AltyaziSatiri(basla: $basla, bit: $bit, metin: $metin)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$AltyaziSatiriImpl && (identical(other.basla, basla) || other.basla == basla) && (identical(other.bit, bit) || other.bit == bit) && (identical(other.metin, metin) || other.metin == metin)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, basla, bit, metin); /// Create a copy of AltyaziSatiri /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$AltyaziSatiriImplCopyWith<_$AltyaziSatiriImpl> get copyWith => __$$AltyaziSatiriImplCopyWithImpl<_$AltyaziSatiriImpl>(this, _$identity); @override Map toJson() { return _$$AltyaziSatiriImplToJson( this, ); } } abstract class _AltyaziSatiri implements AltyaziSatiri { const factory _AltyaziSatiri( {required final double basla, required final double bit, required final String metin}) = _$AltyaziSatiriImpl; factory _AltyaziSatiri.fromJson(Map json) = _$AltyaziSatiriImpl.fromJson; @override double get basla; @override double get bit; @override String get metin; /// Create a copy of AltyaziSatiri /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$AltyaziSatiriImplCopyWith<_$AltyaziSatiriImpl> get copyWith => throw _privateConstructorUsedError; }