// 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 'karakter_referans.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', ); Bbox _$BboxFromJson(Map json) { return _Bbox.fromJson(json); } /// @nodoc mixin _$Bbox { double get x => throw _privateConstructorUsedError; double get y => throw _privateConstructorUsedError; double get w => throw _privateConstructorUsedError; double get h => throw _privateConstructorUsedError; /// Serializes this Bbox to a JSON map. Map toJson() => throw _privateConstructorUsedError; /// Create a copy of Bbox /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $BboxCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $BboxCopyWith<$Res> { factory $BboxCopyWith(Bbox value, $Res Function(Bbox) then) = _$BboxCopyWithImpl<$Res, Bbox>; @useResult $Res call({double x, double y, double w, double h}); } /// @nodoc class _$BboxCopyWithImpl<$Res, $Val extends Bbox> implements $BboxCopyWith<$Res> { _$BboxCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of Bbox /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? x = null, Object? y = null, Object? w = null, Object? h = null, }) { return _then( _value.copyWith( x: null == x ? _value.x : x // ignore: cast_nullable_to_non_nullable as double, y: null == y ? _value.y : y // ignore: cast_nullable_to_non_nullable as double, w: null == w ? _value.w : w // ignore: cast_nullable_to_non_nullable as double, h: null == h ? _value.h : h // ignore: cast_nullable_to_non_nullable as double, ) as $Val, ); } } /// @nodoc abstract class _$$BboxImplCopyWith<$Res> implements $BboxCopyWith<$Res> { factory _$$BboxImplCopyWith( _$BboxImpl value, $Res Function(_$BboxImpl) then, ) = __$$BboxImplCopyWithImpl<$Res>; @override @useResult $Res call({double x, double y, double w, double h}); } /// @nodoc class __$$BboxImplCopyWithImpl<$Res> extends _$BboxCopyWithImpl<$Res, _$BboxImpl> implements _$$BboxImplCopyWith<$Res> { __$$BboxImplCopyWithImpl(_$BboxImpl _value, $Res Function(_$BboxImpl) _then) : super(_value, _then); /// Create a copy of Bbox /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? x = null, Object? y = null, Object? w = null, Object? h = null, }) { return _then( _$BboxImpl( x: null == x ? _value.x : x // ignore: cast_nullable_to_non_nullable as double, y: null == y ? _value.y : y // ignore: cast_nullable_to_non_nullable as double, w: null == w ? _value.w : w // ignore: cast_nullable_to_non_nullable as double, h: null == h ? _value.h : h // ignore: cast_nullable_to_non_nullable as double, ), ); } } /// @nodoc @JsonSerializable() class _$BboxImpl implements _Bbox { const _$BboxImpl({this.x = 0, this.y = 0, this.w = 0, this.h = 0}); factory _$BboxImpl.fromJson(Map json) => _$$BboxImplFromJson(json); @override @JsonKey() final double x; @override @JsonKey() final double y; @override @JsonKey() final double w; @override @JsonKey() final double h; @override String toString() { return 'Bbox(x: $x, y: $y, w: $w, h: $h)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$BboxImpl && (identical(other.x, x) || other.x == x) && (identical(other.y, y) || other.y == y) && (identical(other.w, w) || other.w == w) && (identical(other.h, h) || other.h == h)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, x, y, w, h); /// Create a copy of Bbox /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$BboxImplCopyWith<_$BboxImpl> get copyWith => __$$BboxImplCopyWithImpl<_$BboxImpl>(this, _$identity); @override Map toJson() { return _$$BboxImplToJson(this); } } abstract class _Bbox implements Bbox { const factory _Bbox({ final double x, final double y, final double w, final double h, }) = _$BboxImpl; factory _Bbox.fromJson(Map json) = _$BboxImpl.fromJson; @override double get x; @override double get y; @override double get w; @override double get h; /// Create a copy of Bbox /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$BboxImplCopyWith<_$BboxImpl> get copyWith => throw _privateConstructorUsedError; } KarakterReferans _$KarakterReferansFromJson(Map json) { return _KarakterReferans.fromJson(json); } /// @nodoc mixin _$KarakterReferans { String get id => throw _privateConstructorUsedError; ReferansTip get tip => throw _privateConstructorUsedError; String get dosyaYolu => throw _privateConstructorUsedError; Bbox? get bbox => throw _privateConstructorUsedError; String? get aciklama => throw _privateConstructorUsedError; DateTime get ekleme => throw _privateConstructorUsedError; /// Serializes this KarakterReferans to a JSON map. Map toJson() => throw _privateConstructorUsedError; /// Create a copy of KarakterReferans /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $KarakterReferansCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $KarakterReferansCopyWith<$Res> { factory $KarakterReferansCopyWith( KarakterReferans value, $Res Function(KarakterReferans) then, ) = _$KarakterReferansCopyWithImpl<$Res, KarakterReferans>; @useResult $Res call({ String id, ReferansTip tip, String dosyaYolu, Bbox? bbox, String? aciklama, DateTime ekleme, }); $BboxCopyWith<$Res>? get bbox; } /// @nodoc class _$KarakterReferansCopyWithImpl<$Res, $Val extends KarakterReferans> implements $KarakterReferansCopyWith<$Res> { _$KarakterReferansCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of KarakterReferans /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? id = null, Object? tip = null, Object? dosyaYolu = null, Object? bbox = freezed, Object? aciklama = freezed, Object? ekleme = null, }) { return _then( _value.copyWith( id: null == id ? _value.id : id // ignore: cast_nullable_to_non_nullable as String, tip: null == tip ? _value.tip : tip // ignore: cast_nullable_to_non_nullable as ReferansTip, dosyaYolu: null == dosyaYolu ? _value.dosyaYolu : dosyaYolu // ignore: cast_nullable_to_non_nullable as String, bbox: freezed == bbox ? _value.bbox : bbox // ignore: cast_nullable_to_non_nullable as Bbox?, aciklama: freezed == aciklama ? _value.aciklama : aciklama // ignore: cast_nullable_to_non_nullable as String?, ekleme: null == ekleme ? _value.ekleme : ekleme // ignore: cast_nullable_to_non_nullable as DateTime, ) as $Val, ); } /// Create a copy of KarakterReferans /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $BboxCopyWith<$Res>? get bbox { if (_value.bbox == null) { return null; } return $BboxCopyWith<$Res>(_value.bbox!, (value) { return _then(_value.copyWith(bbox: value) as $Val); }); } } /// @nodoc abstract class _$$KarakterReferansImplCopyWith<$Res> implements $KarakterReferansCopyWith<$Res> { factory _$$KarakterReferansImplCopyWith( _$KarakterReferansImpl value, $Res Function(_$KarakterReferansImpl) then, ) = __$$KarakterReferansImplCopyWithImpl<$Res>; @override @useResult $Res call({ String id, ReferansTip tip, String dosyaYolu, Bbox? bbox, String? aciklama, DateTime ekleme, }); @override $BboxCopyWith<$Res>? get bbox; } /// @nodoc class __$$KarakterReferansImplCopyWithImpl<$Res> extends _$KarakterReferansCopyWithImpl<$Res, _$KarakterReferansImpl> implements _$$KarakterReferansImplCopyWith<$Res> { __$$KarakterReferansImplCopyWithImpl( _$KarakterReferansImpl _value, $Res Function(_$KarakterReferansImpl) _then, ) : super(_value, _then); /// Create a copy of KarakterReferans /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? id = null, Object? tip = null, Object? dosyaYolu = null, Object? bbox = freezed, Object? aciklama = freezed, Object? ekleme = null, }) { return _then( _$KarakterReferansImpl( id: null == id ? _value.id : id // ignore: cast_nullable_to_non_nullable as String, tip: null == tip ? _value.tip : tip // ignore: cast_nullable_to_non_nullable as ReferansTip, dosyaYolu: null == dosyaYolu ? _value.dosyaYolu : dosyaYolu // ignore: cast_nullable_to_non_nullable as String, bbox: freezed == bbox ? _value.bbox : bbox // ignore: cast_nullable_to_non_nullable as Bbox?, aciklama: freezed == aciklama ? _value.aciklama : aciklama // ignore: cast_nullable_to_non_nullable as String?, ekleme: null == ekleme ? _value.ekleme : ekleme // ignore: cast_nullable_to_non_nullable as DateTime, ), ); } } /// @nodoc @JsonSerializable() class _$KarakterReferansImpl implements _KarakterReferans { const _$KarakterReferansImpl({ required this.id, this.tip = ReferansTip.yuz, required this.dosyaYolu, this.bbox, this.aciklama, required this.ekleme, }); factory _$KarakterReferansImpl.fromJson(Map json) => _$$KarakterReferansImplFromJson(json); @override final String id; @override @JsonKey() final ReferansTip tip; @override final String dosyaYolu; @override final Bbox? bbox; @override final String? aciklama; @override final DateTime ekleme; @override String toString() { return 'KarakterReferans(id: $id, tip: $tip, dosyaYolu: $dosyaYolu, bbox: $bbox, aciklama: $aciklama, ekleme: $ekleme)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$KarakterReferansImpl && (identical(other.id, id) || other.id == id) && (identical(other.tip, tip) || other.tip == tip) && (identical(other.dosyaYolu, dosyaYolu) || other.dosyaYolu == dosyaYolu) && (identical(other.bbox, bbox) || other.bbox == bbox) && (identical(other.aciklama, aciklama) || other.aciklama == aciklama) && (identical(other.ekleme, ekleme) || other.ekleme == ekleme)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, id, tip, dosyaYolu, bbox, aciklama, ekleme); /// Create a copy of KarakterReferans /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$KarakterReferansImplCopyWith<_$KarakterReferansImpl> get copyWith => __$$KarakterReferansImplCopyWithImpl<_$KarakterReferansImpl>( this, _$identity, ); @override Map toJson() { return _$$KarakterReferansImplToJson(this); } } abstract class _KarakterReferans implements KarakterReferans { const factory _KarakterReferans({ required final String id, final ReferansTip tip, required final String dosyaYolu, final Bbox? bbox, final String? aciklama, required final DateTime ekleme, }) = _$KarakterReferansImpl; factory _KarakterReferans.fromJson(Map json) = _$KarakterReferansImpl.fromJson; @override String get id; @override ReferansTip get tip; @override String get dosyaYolu; @override Bbox? get bbox; @override String? get aciklama; @override DateTime get ekleme; /// Create a copy of KarakterReferans /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$KarakterReferansImplCopyWith<_$KarakterReferansImpl> get copyWith => throw _privateConstructorUsedError; }