// 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 'segment_grubu.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'); SegmentGrubu _$SegmentGrubuFromJson(Map json) { return _SegmentGrubu.fromJson(json); } /// @nodoc mixin _$SegmentGrubu { String get id => throw _privateConstructorUsedError; String get isim => throw _privateConstructorUsedError; String get renk => throw _privateConstructorUsedError; // hex (#RRGGBB) Map get paylasilanAyarlar => throw _privateConstructorUsedError; /// Serializes this SegmentGrubu to a JSON map. Map toJson() => throw _privateConstructorUsedError; /// Create a copy of SegmentGrubu /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $SegmentGrubuCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $SegmentGrubuCopyWith<$Res> { factory $SegmentGrubuCopyWith( SegmentGrubu value, $Res Function(SegmentGrubu) then) = _$SegmentGrubuCopyWithImpl<$Res, SegmentGrubu>; @useResult $Res call( {String id, String isim, String renk, Map paylasilanAyarlar}); } /// @nodoc class _$SegmentGrubuCopyWithImpl<$Res, $Val extends SegmentGrubu> implements $SegmentGrubuCopyWith<$Res> { _$SegmentGrubuCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of SegmentGrubu /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? id = null, Object? isim = null, Object? renk = null, Object? paylasilanAyarlar = null, }) { return _then(_value.copyWith( id: null == id ? _value.id : id // ignore: cast_nullable_to_non_nullable as String, isim: null == isim ? _value.isim : isim // ignore: cast_nullable_to_non_nullable as String, renk: null == renk ? _value.renk : renk // ignore: cast_nullable_to_non_nullable as String, paylasilanAyarlar: null == paylasilanAyarlar ? _value.paylasilanAyarlar : paylasilanAyarlar // ignore: cast_nullable_to_non_nullable as Map, ) as $Val); } } /// @nodoc abstract class _$$SegmentGrubuImplCopyWith<$Res> implements $SegmentGrubuCopyWith<$Res> { factory _$$SegmentGrubuImplCopyWith( _$SegmentGrubuImpl value, $Res Function(_$SegmentGrubuImpl) then) = __$$SegmentGrubuImplCopyWithImpl<$Res>; @override @useResult $Res call( {String id, String isim, String renk, Map paylasilanAyarlar}); } /// @nodoc class __$$SegmentGrubuImplCopyWithImpl<$Res> extends _$SegmentGrubuCopyWithImpl<$Res, _$SegmentGrubuImpl> implements _$$SegmentGrubuImplCopyWith<$Res> { __$$SegmentGrubuImplCopyWithImpl( _$SegmentGrubuImpl _value, $Res Function(_$SegmentGrubuImpl) _then) : super(_value, _then); /// Create a copy of SegmentGrubu /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? id = null, Object? isim = null, Object? renk = null, Object? paylasilanAyarlar = null, }) { return _then(_$SegmentGrubuImpl( id: null == id ? _value.id : id // ignore: cast_nullable_to_non_nullable as String, isim: null == isim ? _value.isim : isim // ignore: cast_nullable_to_non_nullable as String, renk: null == renk ? _value.renk : renk // ignore: cast_nullable_to_non_nullable as String, paylasilanAyarlar: null == paylasilanAyarlar ? _value._paylasilanAyarlar : paylasilanAyarlar // ignore: cast_nullable_to_non_nullable as Map, )); } } /// @nodoc @JsonSerializable() class _$SegmentGrubuImpl implements _SegmentGrubu { const _$SegmentGrubuImpl( {required this.id, required this.isim, required this.renk, final Map paylasilanAyarlar = const {}}) : _paylasilanAyarlar = paylasilanAyarlar; factory _$SegmentGrubuImpl.fromJson(Map json) => _$$SegmentGrubuImplFromJson(json); @override final String id; @override final String isim; @override final String renk; // hex (#RRGGBB) final Map _paylasilanAyarlar; // hex (#RRGGBB) @override @JsonKey() Map get paylasilanAyarlar { if (_paylasilanAyarlar is EqualUnmodifiableMapView) return _paylasilanAyarlar; // ignore: implicit_dynamic_type return EqualUnmodifiableMapView(_paylasilanAyarlar); } @override String toString() { return 'SegmentGrubu(id: $id, isim: $isim, renk: $renk, paylasilanAyarlar: $paylasilanAyarlar)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$SegmentGrubuImpl && (identical(other.id, id) || other.id == id) && (identical(other.isim, isim) || other.isim == isim) && (identical(other.renk, renk) || other.renk == renk) && const DeepCollectionEquality() .equals(other._paylasilanAyarlar, _paylasilanAyarlar)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, id, isim, renk, const DeepCollectionEquality().hash(_paylasilanAyarlar)); /// Create a copy of SegmentGrubu /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$SegmentGrubuImplCopyWith<_$SegmentGrubuImpl> get copyWith => __$$SegmentGrubuImplCopyWithImpl<_$SegmentGrubuImpl>(this, _$identity); @override Map toJson() { return _$$SegmentGrubuImplToJson( this, ); } } abstract class _SegmentGrubu implements SegmentGrubu { const factory _SegmentGrubu( {required final String id, required final String isim, required final String renk, final Map paylasilanAyarlar}) = _$SegmentGrubuImpl; factory _SegmentGrubu.fromJson(Map json) = _$SegmentGrubuImpl.fromJson; @override String get id; @override String get isim; @override String get renk; // hex (#RRGGBB) @override Map get paylasilanAyarlar; /// Create a copy of SegmentGrubu /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$SegmentGrubuImplCopyWith<_$SegmentGrubuImpl> get copyWith => throw _privateConstructorUsedError; }