// 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 'sync_promo_dto.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'); SyncPromoDto _$SyncPromoDtoFromJson(Map json) { return _SyncPromoDto.fromJson(json); } /// @nodoc mixin _$SyncPromoDto { int? get progressivo => throw _privateConstructorUsedError; int? get tipoPromozione => throw _privateConstructorUsedError; String? get descrizione => throw _privateConstructorUsedError; String? get dataInizio => throw _privateConstructorUsedError; String? get dataFine => throw _privateConstructorUsedError; double? get limiteQta => throw _privateConstructorUsedError; double? get quantitaOmaggio => throw _privateConstructorUsedError; double? get limiteImporto => throw _privateConstructorUsedError; String? get stato => throw _privateConstructorUsedError; int? get priorita => throw _privateConstructorUsedError; int? get codice => throw _privateConstructorUsedError; ItemDto? get articoloPromo => throw _privateConstructorUsedError; ItemDto? get articoloOmaggio => throw _privateConstructorUsedError; ListinoDto? get listinoOmaggio => throw _privateConstructorUsedError; ScontoDto? get sconto => throw _privateConstructorUsedError; List get promozioneArticoli => throw _privateConstructorUsedError; List get promozioneListini => throw _privateConstructorUsedError; List get promozioneOmaggio => throw _privateConstructorUsedError; /// Serializes this SyncPromoDto to a JSON map. Map toJson() => throw _privateConstructorUsedError; /// Create a copy of SyncPromoDto /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $SyncPromoDtoCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $SyncPromoDtoCopyWith<$Res> { factory $SyncPromoDtoCopyWith( SyncPromoDto value, $Res Function(SyncPromoDto) then) = _$SyncPromoDtoCopyWithImpl<$Res, SyncPromoDto>; @useResult $Res call( {int? progressivo, int? tipoPromozione, String? descrizione, String? dataInizio, String? dataFine, double? limiteQta, double? quantitaOmaggio, double? limiteImporto, String? stato, int? priorita, int? codice, ItemDto? articoloPromo, ItemDto? articoloOmaggio, ListinoDto? listinoOmaggio, ScontoDto? sconto, List promozioneArticoli, List promozioneListini, List promozioneOmaggio}); $ItemDtoCopyWith<$Res>? get articoloPromo; $ItemDtoCopyWith<$Res>? get articoloOmaggio; $ListinoDtoCopyWith<$Res>? get listinoOmaggio; $ScontoDtoCopyWith<$Res>? get sconto; } /// @nodoc class _$SyncPromoDtoCopyWithImpl<$Res, $Val extends SyncPromoDto> implements $SyncPromoDtoCopyWith<$Res> { _$SyncPromoDtoCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of SyncPromoDto /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? progressivo = freezed, Object? tipoPromozione = freezed, Object? descrizione = freezed, Object? dataInizio = freezed, Object? dataFine = freezed, Object? limiteQta = freezed, Object? quantitaOmaggio = freezed, Object? limiteImporto = freezed, Object? stato = freezed, Object? priorita = freezed, Object? codice = freezed, Object? articoloPromo = freezed, Object? articoloOmaggio = freezed, Object? listinoOmaggio = freezed, Object? sconto = freezed, Object? promozioneArticoli = null, Object? promozioneListini = null, Object? promozioneOmaggio = null, }) { return _then(_value.copyWith( progressivo: freezed == progressivo ? _value.progressivo : progressivo // ignore: cast_nullable_to_non_nullable as int?, tipoPromozione: freezed == tipoPromozione ? _value.tipoPromozione : tipoPromozione // ignore: cast_nullable_to_non_nullable as int?, descrizione: freezed == descrizione ? _value.descrizione : descrizione // ignore: cast_nullable_to_non_nullable as String?, dataInizio: freezed == dataInizio ? _value.dataInizio : dataInizio // ignore: cast_nullable_to_non_nullable as String?, dataFine: freezed == dataFine ? _value.dataFine : dataFine // ignore: cast_nullable_to_non_nullable as String?, limiteQta: freezed == limiteQta ? _value.limiteQta : limiteQta // ignore: cast_nullable_to_non_nullable as double?, quantitaOmaggio: freezed == quantitaOmaggio ? _value.quantitaOmaggio : quantitaOmaggio // ignore: cast_nullable_to_non_nullable as double?, limiteImporto: freezed == limiteImporto ? _value.limiteImporto : limiteImporto // ignore: cast_nullable_to_non_nullable as double?, stato: freezed == stato ? _value.stato : stato // ignore: cast_nullable_to_non_nullable as String?, priorita: freezed == priorita ? _value.priorita : priorita // ignore: cast_nullable_to_non_nullable as int?, codice: freezed == codice ? _value.codice : codice // ignore: cast_nullable_to_non_nullable as int?, articoloPromo: freezed == articoloPromo ? _value.articoloPromo : articoloPromo // ignore: cast_nullable_to_non_nullable as ItemDto?, articoloOmaggio: freezed == articoloOmaggio ? _value.articoloOmaggio : articoloOmaggio // ignore: cast_nullable_to_non_nullable as ItemDto?, listinoOmaggio: freezed == listinoOmaggio ? _value.listinoOmaggio : listinoOmaggio // ignore: cast_nullable_to_non_nullable as ListinoDto?, sconto: freezed == sconto ? _value.sconto : sconto // ignore: cast_nullable_to_non_nullable as ScontoDto?, promozioneArticoli: null == promozioneArticoli ? _value.promozioneArticoli : promozioneArticoli // ignore: cast_nullable_to_non_nullable as List, promozioneListini: null == promozioneListini ? _value.promozioneListini : promozioneListini // ignore: cast_nullable_to_non_nullable as List, promozioneOmaggio: null == promozioneOmaggio ? _value.promozioneOmaggio : promozioneOmaggio // ignore: cast_nullable_to_non_nullable as List, ) as $Val); } /// Create a copy of SyncPromoDto /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $ItemDtoCopyWith<$Res>? get articoloPromo { if (_value.articoloPromo == null) { return null; } return $ItemDtoCopyWith<$Res>(_value.articoloPromo!, (value) { return _then(_value.copyWith(articoloPromo: value) as $Val); }); } /// Create a copy of SyncPromoDto /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $ItemDtoCopyWith<$Res>? get articoloOmaggio { if (_value.articoloOmaggio == null) { return null; } return $ItemDtoCopyWith<$Res>(_value.articoloOmaggio!, (value) { return _then(_value.copyWith(articoloOmaggio: value) as $Val); }); } /// Create a copy of SyncPromoDto /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $ListinoDtoCopyWith<$Res>? get listinoOmaggio { if (_value.listinoOmaggio == null) { return null; } return $ListinoDtoCopyWith<$Res>(_value.listinoOmaggio!, (value) { return _then(_value.copyWith(listinoOmaggio: value) as $Val); }); } /// Create a copy of SyncPromoDto /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $ScontoDtoCopyWith<$Res>? get sconto { if (_value.sconto == null) { return null; } return $ScontoDtoCopyWith<$Res>(_value.sconto!, (value) { return _then(_value.copyWith(sconto: value) as $Val); }); } } /// @nodoc abstract class _$$SyncPromoDtoImplCopyWith<$Res> implements $SyncPromoDtoCopyWith<$Res> { factory _$$SyncPromoDtoImplCopyWith( _$SyncPromoDtoImpl value, $Res Function(_$SyncPromoDtoImpl) then) = __$$SyncPromoDtoImplCopyWithImpl<$Res>; @override @useResult $Res call( {int? progressivo, int? tipoPromozione, String? descrizione, String? dataInizio, String? dataFine, double? limiteQta, double? quantitaOmaggio, double? limiteImporto, String? stato, int? priorita, int? codice, ItemDto? articoloPromo, ItemDto? articoloOmaggio, ListinoDto? listinoOmaggio, ScontoDto? sconto, List promozioneArticoli, List promozioneListini, List promozioneOmaggio}); @override $ItemDtoCopyWith<$Res>? get articoloPromo; @override $ItemDtoCopyWith<$Res>? get articoloOmaggio; @override $ListinoDtoCopyWith<$Res>? get listinoOmaggio; @override $ScontoDtoCopyWith<$Res>? get sconto; } /// @nodoc class __$$SyncPromoDtoImplCopyWithImpl<$Res> extends _$SyncPromoDtoCopyWithImpl<$Res, _$SyncPromoDtoImpl> implements _$$SyncPromoDtoImplCopyWith<$Res> { __$$SyncPromoDtoImplCopyWithImpl( _$SyncPromoDtoImpl _value, $Res Function(_$SyncPromoDtoImpl) _then) : super(_value, _then); /// Create a copy of SyncPromoDto /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? progressivo = freezed, Object? tipoPromozione = freezed, Object? descrizione = freezed, Object? dataInizio = freezed, Object? dataFine = freezed, Object? limiteQta = freezed, Object? quantitaOmaggio = freezed, Object? limiteImporto = freezed, Object? stato = freezed, Object? priorita = freezed, Object? codice = freezed, Object? articoloPromo = freezed, Object? articoloOmaggio = freezed, Object? listinoOmaggio = freezed, Object? sconto = freezed, Object? promozioneArticoli = null, Object? promozioneListini = null, Object? promozioneOmaggio = null, }) { return _then(_$SyncPromoDtoImpl( progressivo: freezed == progressivo ? _value.progressivo : progressivo // ignore: cast_nullable_to_non_nullable as int?, tipoPromozione: freezed == tipoPromozione ? _value.tipoPromozione : tipoPromozione // ignore: cast_nullable_to_non_nullable as int?, descrizione: freezed == descrizione ? _value.descrizione : descrizione // ignore: cast_nullable_to_non_nullable as String?, dataInizio: freezed == dataInizio ? _value.dataInizio : dataInizio // ignore: cast_nullable_to_non_nullable as String?, dataFine: freezed == dataFine ? _value.dataFine : dataFine // ignore: cast_nullable_to_non_nullable as String?, limiteQta: freezed == limiteQta ? _value.limiteQta : limiteQta // ignore: cast_nullable_to_non_nullable as double?, quantitaOmaggio: freezed == quantitaOmaggio ? _value.quantitaOmaggio : quantitaOmaggio // ignore: cast_nullable_to_non_nullable as double?, limiteImporto: freezed == limiteImporto ? _value.limiteImporto : limiteImporto // ignore: cast_nullable_to_non_nullable as double?, stato: freezed == stato ? _value.stato : stato // ignore: cast_nullable_to_non_nullable as String?, priorita: freezed == priorita ? _value.priorita : priorita // ignore: cast_nullable_to_non_nullable as int?, codice: freezed == codice ? _value.codice : codice // ignore: cast_nullable_to_non_nullable as int?, articoloPromo: freezed == articoloPromo ? _value.articoloPromo : articoloPromo // ignore: cast_nullable_to_non_nullable as ItemDto?, articoloOmaggio: freezed == articoloOmaggio ? _value.articoloOmaggio : articoloOmaggio // ignore: cast_nullable_to_non_nullable as ItemDto?, listinoOmaggio: freezed == listinoOmaggio ? _value.listinoOmaggio : listinoOmaggio // ignore: cast_nullable_to_non_nullable as ListinoDto?, sconto: freezed == sconto ? _value.sconto : sconto // ignore: cast_nullable_to_non_nullable as ScontoDto?, promozioneArticoli: null == promozioneArticoli ? _value._promozioneArticoli : promozioneArticoli // ignore: cast_nullable_to_non_nullable as List, promozioneListini: null == promozioneListini ? _value._promozioneListini : promozioneListini // ignore: cast_nullable_to_non_nullable as List, promozioneOmaggio: null == promozioneOmaggio ? _value._promozioneOmaggio : promozioneOmaggio // ignore: cast_nullable_to_non_nullable as List, )); } } /// @nodoc @JsonSerializable() class _$SyncPromoDtoImpl implements _SyncPromoDto { const _$SyncPromoDtoImpl( {this.progressivo, this.tipoPromozione, this.descrizione, this.dataInizio, this.dataFine, this.limiteQta, this.quantitaOmaggio, this.limiteImporto, this.stato, this.priorita, this.codice, this.articoloPromo, this.articoloOmaggio, this.listinoOmaggio, this.sconto, final List promozioneArticoli = const [], final List promozioneListini = const [], final List promozioneOmaggio = const []}) : _promozioneArticoli = promozioneArticoli, _promozioneListini = promozioneListini, _promozioneOmaggio = promozioneOmaggio; factory _$SyncPromoDtoImpl.fromJson(Map json) => _$$SyncPromoDtoImplFromJson(json); @override final int? progressivo; @override final int? tipoPromozione; @override final String? descrizione; @override final String? dataInizio; @override final String? dataFine; @override final double? limiteQta; @override final double? quantitaOmaggio; @override final double? limiteImporto; @override final String? stato; @override final int? priorita; @override final int? codice; @override final ItemDto? articoloPromo; @override final ItemDto? articoloOmaggio; @override final ListinoDto? listinoOmaggio; @override final ScontoDto? sconto; final List _promozioneArticoli; @override @JsonKey() List get promozioneArticoli { if (_promozioneArticoli is EqualUnmodifiableListView) return _promozioneArticoli; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(_promozioneArticoli); } final List _promozioneListini; @override @JsonKey() List get promozioneListini { if (_promozioneListini is EqualUnmodifiableListView) return _promozioneListini; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(_promozioneListini); } final List _promozioneOmaggio; @override @JsonKey() List get promozioneOmaggio { if (_promozioneOmaggio is EqualUnmodifiableListView) return _promozioneOmaggio; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(_promozioneOmaggio); } @override String toString() { return 'SyncPromoDto(progressivo: $progressivo, tipoPromozione: $tipoPromozione, descrizione: $descrizione, dataInizio: $dataInizio, dataFine: $dataFine, limiteQta: $limiteQta, quantitaOmaggio: $quantitaOmaggio, limiteImporto: $limiteImporto, stato: $stato, priorita: $priorita, codice: $codice, articoloPromo: $articoloPromo, articoloOmaggio: $articoloOmaggio, listinoOmaggio: $listinoOmaggio, sconto: $sconto, promozioneArticoli: $promozioneArticoli, promozioneListini: $promozioneListini, promozioneOmaggio: $promozioneOmaggio)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$SyncPromoDtoImpl && (identical(other.progressivo, progressivo) || other.progressivo == progressivo) && (identical(other.tipoPromozione, tipoPromozione) || other.tipoPromozione == tipoPromozione) && (identical(other.descrizione, descrizione) || other.descrizione == descrizione) && (identical(other.dataInizio, dataInizio) || other.dataInizio == dataInizio) && (identical(other.dataFine, dataFine) || other.dataFine == dataFine) && (identical(other.limiteQta, limiteQta) || other.limiteQta == limiteQta) && (identical(other.quantitaOmaggio, quantitaOmaggio) || other.quantitaOmaggio == quantitaOmaggio) && (identical(other.limiteImporto, limiteImporto) || other.limiteImporto == limiteImporto) && (identical(other.stato, stato) || other.stato == stato) && (identical(other.priorita, priorita) || other.priorita == priorita) && (identical(other.codice, codice) || other.codice == codice) && (identical(other.articoloPromo, articoloPromo) || other.articoloPromo == articoloPromo) && (identical(other.articoloOmaggio, articoloOmaggio) || other.articoloOmaggio == articoloOmaggio) && (identical(other.listinoOmaggio, listinoOmaggio) || other.listinoOmaggio == listinoOmaggio) && (identical(other.sconto, sconto) || other.sconto == sconto) && const DeepCollectionEquality() .equals(other._promozioneArticoli, _promozioneArticoli) && const DeepCollectionEquality() .equals(other._promozioneListini, _promozioneListini) && const DeepCollectionEquality() .equals(other._promozioneOmaggio, _promozioneOmaggio)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash( runtimeType, progressivo, tipoPromozione, descrizione, dataInizio, dataFine, limiteQta, quantitaOmaggio, limiteImporto, stato, priorita, codice, articoloPromo, articoloOmaggio, listinoOmaggio, sconto, const DeepCollectionEquality().hash(_promozioneArticoli), const DeepCollectionEquality().hash(_promozioneListini), const DeepCollectionEquality().hash(_promozioneOmaggio)); /// Create a copy of SyncPromoDto /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$SyncPromoDtoImplCopyWith<_$SyncPromoDtoImpl> get copyWith => __$$SyncPromoDtoImplCopyWithImpl<_$SyncPromoDtoImpl>(this, _$identity); @override Map toJson() { return _$$SyncPromoDtoImplToJson( this, ); } } abstract class _SyncPromoDto implements SyncPromoDto { const factory _SyncPromoDto( {final int? progressivo, final int? tipoPromozione, final String? descrizione, final String? dataInizio, final String? dataFine, final double? limiteQta, final double? quantitaOmaggio, final double? limiteImporto, final String? stato, final int? priorita, final int? codice, final ItemDto? articoloPromo, final ItemDto? articoloOmaggio, final ListinoDto? listinoOmaggio, final ScontoDto? sconto, final List promozioneArticoli, final List promozioneListini, final List promozioneOmaggio}) = _$SyncPromoDtoImpl; factory _SyncPromoDto.fromJson(Map json) = _$SyncPromoDtoImpl.fromJson; @override int? get progressivo; @override int? get tipoPromozione; @override String? get descrizione; @override String? get dataInizio; @override String? get dataFine; @override double? get limiteQta; @override double? get quantitaOmaggio; @override double? get limiteImporto; @override String? get stato; @override int? get priorita; @override int? get codice; @override ItemDto? get articoloPromo; @override ItemDto? get articoloOmaggio; @override ListinoDto? get listinoOmaggio; @override ScontoDto? get sconto; @override List get promozioneArticoli; @override List get promozioneListini; @override List get promozioneOmaggio; /// Create a copy of SyncPromoDto /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$SyncPromoDtoImplCopyWith<_$SyncPromoDtoImpl> get copyWith => throw _privateConstructorUsedError; } SyncPromoArtDto _$SyncPromoArtDtoFromJson(Map json) { return _SyncPromoArtDto.fromJson(json); } /// @nodoc mixin _$SyncPromoArtDto { PromoArticoloKey? get promozioneArticoloKey => throw _privateConstructorUsedError; ItemDto? get articolo => throw _privateConstructorUsedError; /// Serializes this SyncPromoArtDto to a JSON map. Map toJson() => throw _privateConstructorUsedError; /// Create a copy of SyncPromoArtDto /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $SyncPromoArtDtoCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $SyncPromoArtDtoCopyWith<$Res> { factory $SyncPromoArtDtoCopyWith( SyncPromoArtDto value, $Res Function(SyncPromoArtDto) then) = _$SyncPromoArtDtoCopyWithImpl<$Res, SyncPromoArtDto>; @useResult $Res call({PromoArticoloKey? promozioneArticoloKey, ItemDto? articolo}); $PromoArticoloKeyCopyWith<$Res>? get promozioneArticoloKey; $ItemDtoCopyWith<$Res>? get articolo; } /// @nodoc class _$SyncPromoArtDtoCopyWithImpl<$Res, $Val extends SyncPromoArtDto> implements $SyncPromoArtDtoCopyWith<$Res> { _$SyncPromoArtDtoCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of SyncPromoArtDto /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? promozioneArticoloKey = freezed, Object? articolo = freezed, }) { return _then(_value.copyWith( promozioneArticoloKey: freezed == promozioneArticoloKey ? _value.promozioneArticoloKey : promozioneArticoloKey // ignore: cast_nullable_to_non_nullable as PromoArticoloKey?, articolo: freezed == articolo ? _value.articolo : articolo // ignore: cast_nullable_to_non_nullable as ItemDto?, ) as $Val); } /// Create a copy of SyncPromoArtDto /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $PromoArticoloKeyCopyWith<$Res>? get promozioneArticoloKey { if (_value.promozioneArticoloKey == null) { return null; } return $PromoArticoloKeyCopyWith<$Res>(_value.promozioneArticoloKey!, (value) { return _then(_value.copyWith(promozioneArticoloKey: value) as $Val); }); } /// Create a copy of SyncPromoArtDto /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $ItemDtoCopyWith<$Res>? get articolo { if (_value.articolo == null) { return null; } return $ItemDtoCopyWith<$Res>(_value.articolo!, (value) { return _then(_value.copyWith(articolo: value) as $Val); }); } } /// @nodoc abstract class _$$SyncPromoArtDtoImplCopyWith<$Res> implements $SyncPromoArtDtoCopyWith<$Res> { factory _$$SyncPromoArtDtoImplCopyWith(_$SyncPromoArtDtoImpl value, $Res Function(_$SyncPromoArtDtoImpl) then) = __$$SyncPromoArtDtoImplCopyWithImpl<$Res>; @override @useResult $Res call({PromoArticoloKey? promozioneArticoloKey, ItemDto? articolo}); @override $PromoArticoloKeyCopyWith<$Res>? get promozioneArticoloKey; @override $ItemDtoCopyWith<$Res>? get articolo; } /// @nodoc class __$$SyncPromoArtDtoImplCopyWithImpl<$Res> extends _$SyncPromoArtDtoCopyWithImpl<$Res, _$SyncPromoArtDtoImpl> implements _$$SyncPromoArtDtoImplCopyWith<$Res> { __$$SyncPromoArtDtoImplCopyWithImpl( _$SyncPromoArtDtoImpl _value, $Res Function(_$SyncPromoArtDtoImpl) _then) : super(_value, _then); /// Create a copy of SyncPromoArtDto /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? promozioneArticoloKey = freezed, Object? articolo = freezed, }) { return _then(_$SyncPromoArtDtoImpl( promozioneArticoloKey: freezed == promozioneArticoloKey ? _value.promozioneArticoloKey : promozioneArticoloKey // ignore: cast_nullable_to_non_nullable as PromoArticoloKey?, articolo: freezed == articolo ? _value.articolo : articolo // ignore: cast_nullable_to_non_nullable as ItemDto?, )); } } /// @nodoc @JsonSerializable() class _$SyncPromoArtDtoImpl implements _SyncPromoArtDto { const _$SyncPromoArtDtoImpl({this.promozioneArticoloKey, this.articolo}); factory _$SyncPromoArtDtoImpl.fromJson(Map json) => _$$SyncPromoArtDtoImplFromJson(json); @override final PromoArticoloKey? promozioneArticoloKey; @override final ItemDto? articolo; @override String toString() { return 'SyncPromoArtDto(promozioneArticoloKey: $promozioneArticoloKey, articolo: $articolo)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$SyncPromoArtDtoImpl && (identical(other.promozioneArticoloKey, promozioneArticoloKey) || other.promozioneArticoloKey == promozioneArticoloKey) && (identical(other.articolo, articolo) || other.articolo == articolo)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, promozioneArticoloKey, articolo); /// Create a copy of SyncPromoArtDto /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$SyncPromoArtDtoImplCopyWith<_$SyncPromoArtDtoImpl> get copyWith => __$$SyncPromoArtDtoImplCopyWithImpl<_$SyncPromoArtDtoImpl>( this, _$identity); @override Map toJson() { return _$$SyncPromoArtDtoImplToJson( this, ); } } abstract class _SyncPromoArtDto implements SyncPromoArtDto { const factory _SyncPromoArtDto( {final PromoArticoloKey? promozioneArticoloKey, final ItemDto? articolo}) = _$SyncPromoArtDtoImpl; factory _SyncPromoArtDto.fromJson(Map json) = _$SyncPromoArtDtoImpl.fromJson; @override PromoArticoloKey? get promozioneArticoloKey; @override ItemDto? get articolo; /// Create a copy of SyncPromoArtDto /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$SyncPromoArtDtoImplCopyWith<_$SyncPromoArtDtoImpl> get copyWith => throw _privateConstructorUsedError; } SyncPromoListiniDto _$SyncPromoListiniDtoFromJson(Map json) { return _SyncPromoListiniDto.fromJson(json); } /// @nodoc mixin _$SyncPromoListiniDto { PromoListinoKey? get promozioneListinoKey => throw _privateConstructorUsedError; /// Serializes this SyncPromoListiniDto to a JSON map. Map toJson() => throw _privateConstructorUsedError; /// Create a copy of SyncPromoListiniDto /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $SyncPromoListiniDtoCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $SyncPromoListiniDtoCopyWith<$Res> { factory $SyncPromoListiniDtoCopyWith( SyncPromoListiniDto value, $Res Function(SyncPromoListiniDto) then) = _$SyncPromoListiniDtoCopyWithImpl<$Res, SyncPromoListiniDto>; @useResult $Res call({PromoListinoKey? promozioneListinoKey}); $PromoListinoKeyCopyWith<$Res>? get promozioneListinoKey; } /// @nodoc class _$SyncPromoListiniDtoCopyWithImpl<$Res, $Val extends SyncPromoListiniDto> implements $SyncPromoListiniDtoCopyWith<$Res> { _$SyncPromoListiniDtoCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of SyncPromoListiniDto /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? promozioneListinoKey = freezed, }) { return _then(_value.copyWith( promozioneListinoKey: freezed == promozioneListinoKey ? _value.promozioneListinoKey : promozioneListinoKey // ignore: cast_nullable_to_non_nullable as PromoListinoKey?, ) as $Val); } /// Create a copy of SyncPromoListiniDto /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $PromoListinoKeyCopyWith<$Res>? get promozioneListinoKey { if (_value.promozioneListinoKey == null) { return null; } return $PromoListinoKeyCopyWith<$Res>(_value.promozioneListinoKey!, (value) { return _then(_value.copyWith(promozioneListinoKey: value) as $Val); }); } } /// @nodoc abstract class _$$SyncPromoListiniDtoImplCopyWith<$Res> implements $SyncPromoListiniDtoCopyWith<$Res> { factory _$$SyncPromoListiniDtoImplCopyWith(_$SyncPromoListiniDtoImpl value, $Res Function(_$SyncPromoListiniDtoImpl) then) = __$$SyncPromoListiniDtoImplCopyWithImpl<$Res>; @override @useResult $Res call({PromoListinoKey? promozioneListinoKey}); @override $PromoListinoKeyCopyWith<$Res>? get promozioneListinoKey; } /// @nodoc class __$$SyncPromoListiniDtoImplCopyWithImpl<$Res> extends _$SyncPromoListiniDtoCopyWithImpl<$Res, _$SyncPromoListiniDtoImpl> implements _$$SyncPromoListiniDtoImplCopyWith<$Res> { __$$SyncPromoListiniDtoImplCopyWithImpl(_$SyncPromoListiniDtoImpl _value, $Res Function(_$SyncPromoListiniDtoImpl) _then) : super(_value, _then); /// Create a copy of SyncPromoListiniDto /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? promozioneListinoKey = freezed, }) { return _then(_$SyncPromoListiniDtoImpl( promozioneListinoKey: freezed == promozioneListinoKey ? _value.promozioneListinoKey : promozioneListinoKey // ignore: cast_nullable_to_non_nullable as PromoListinoKey?, )); } } /// @nodoc @JsonSerializable() class _$SyncPromoListiniDtoImpl implements _SyncPromoListiniDto { const _$SyncPromoListiniDtoImpl({this.promozioneListinoKey}); factory _$SyncPromoListiniDtoImpl.fromJson(Map json) => _$$SyncPromoListiniDtoImplFromJson(json); @override final PromoListinoKey? promozioneListinoKey; @override String toString() { return 'SyncPromoListiniDto(promozioneListinoKey: $promozioneListinoKey)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$SyncPromoListiniDtoImpl && (identical(other.promozioneListinoKey, promozioneListinoKey) || other.promozioneListinoKey == promozioneListinoKey)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, promozioneListinoKey); /// Create a copy of SyncPromoListiniDto /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$SyncPromoListiniDtoImplCopyWith<_$SyncPromoListiniDtoImpl> get copyWith => __$$SyncPromoListiniDtoImplCopyWithImpl<_$SyncPromoListiniDtoImpl>( this, _$identity); @override Map toJson() { return _$$SyncPromoListiniDtoImplToJson( this, ); } } abstract class _SyncPromoListiniDto implements SyncPromoListiniDto { const factory _SyncPromoListiniDto( {final PromoListinoKey? promozioneListinoKey}) = _$SyncPromoListiniDtoImpl; factory _SyncPromoListiniDto.fromJson(Map json) = _$SyncPromoListiniDtoImpl.fromJson; @override PromoListinoKey? get promozioneListinoKey; /// Create a copy of SyncPromoListiniDto /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$SyncPromoListiniDtoImplCopyWith<_$SyncPromoListiniDtoImpl> get copyWith => throw _privateConstructorUsedError; } SyncPromoOmaggioDto _$SyncPromoOmaggioDtoFromJson(Map json) { return _SyncPromoOmaggioDto.fromJson(json); } /// @nodoc mixin _$SyncPromoOmaggioDto { PromoOmaggioKey? get promozioneOmaggioKey => throw _privateConstructorUsedError; ItemDto? get articolo => throw _privateConstructorUsedError; double? get quantita => throw _privateConstructorUsedError; /// Serializes this SyncPromoOmaggioDto to a JSON map. Map toJson() => throw _privateConstructorUsedError; /// Create a copy of SyncPromoOmaggioDto /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $SyncPromoOmaggioDtoCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $SyncPromoOmaggioDtoCopyWith<$Res> { factory $SyncPromoOmaggioDtoCopyWith( SyncPromoOmaggioDto value, $Res Function(SyncPromoOmaggioDto) then) = _$SyncPromoOmaggioDtoCopyWithImpl<$Res, SyncPromoOmaggioDto>; @useResult $Res call( {PromoOmaggioKey? promozioneOmaggioKey, ItemDto? articolo, double? quantita}); $PromoOmaggioKeyCopyWith<$Res>? get promozioneOmaggioKey; $ItemDtoCopyWith<$Res>? get articolo; } /// @nodoc class _$SyncPromoOmaggioDtoCopyWithImpl<$Res, $Val extends SyncPromoOmaggioDto> implements $SyncPromoOmaggioDtoCopyWith<$Res> { _$SyncPromoOmaggioDtoCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of SyncPromoOmaggioDto /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? promozioneOmaggioKey = freezed, Object? articolo = freezed, Object? quantita = freezed, }) { return _then(_value.copyWith( promozioneOmaggioKey: freezed == promozioneOmaggioKey ? _value.promozioneOmaggioKey : promozioneOmaggioKey // ignore: cast_nullable_to_non_nullable as PromoOmaggioKey?, articolo: freezed == articolo ? _value.articolo : articolo // ignore: cast_nullable_to_non_nullable as ItemDto?, quantita: freezed == quantita ? _value.quantita : quantita // ignore: cast_nullable_to_non_nullable as double?, ) as $Val); } /// Create a copy of SyncPromoOmaggioDto /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $PromoOmaggioKeyCopyWith<$Res>? get promozioneOmaggioKey { if (_value.promozioneOmaggioKey == null) { return null; } return $PromoOmaggioKeyCopyWith<$Res>(_value.promozioneOmaggioKey!, (value) { return _then(_value.copyWith(promozioneOmaggioKey: value) as $Val); }); } /// Create a copy of SyncPromoOmaggioDto /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $ItemDtoCopyWith<$Res>? get articolo { if (_value.articolo == null) { return null; } return $ItemDtoCopyWith<$Res>(_value.articolo!, (value) { return _then(_value.copyWith(articolo: value) as $Val); }); } } /// @nodoc abstract class _$$SyncPromoOmaggioDtoImplCopyWith<$Res> implements $SyncPromoOmaggioDtoCopyWith<$Res> { factory _$$SyncPromoOmaggioDtoImplCopyWith(_$SyncPromoOmaggioDtoImpl value, $Res Function(_$SyncPromoOmaggioDtoImpl) then) = __$$SyncPromoOmaggioDtoImplCopyWithImpl<$Res>; @override @useResult $Res call( {PromoOmaggioKey? promozioneOmaggioKey, ItemDto? articolo, double? quantita}); @override $PromoOmaggioKeyCopyWith<$Res>? get promozioneOmaggioKey; @override $ItemDtoCopyWith<$Res>? get articolo; } /// @nodoc class __$$SyncPromoOmaggioDtoImplCopyWithImpl<$Res> extends _$SyncPromoOmaggioDtoCopyWithImpl<$Res, _$SyncPromoOmaggioDtoImpl> implements _$$SyncPromoOmaggioDtoImplCopyWith<$Res> { __$$SyncPromoOmaggioDtoImplCopyWithImpl(_$SyncPromoOmaggioDtoImpl _value, $Res Function(_$SyncPromoOmaggioDtoImpl) _then) : super(_value, _then); /// Create a copy of SyncPromoOmaggioDto /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? promozioneOmaggioKey = freezed, Object? articolo = freezed, Object? quantita = freezed, }) { return _then(_$SyncPromoOmaggioDtoImpl( promozioneOmaggioKey: freezed == promozioneOmaggioKey ? _value.promozioneOmaggioKey : promozioneOmaggioKey // ignore: cast_nullable_to_non_nullable as PromoOmaggioKey?, articolo: freezed == articolo ? _value.articolo : articolo // ignore: cast_nullable_to_non_nullable as ItemDto?, quantita: freezed == quantita ? _value.quantita : quantita // ignore: cast_nullable_to_non_nullable as double?, )); } } /// @nodoc @JsonSerializable() class _$SyncPromoOmaggioDtoImpl implements _SyncPromoOmaggioDto { const _$SyncPromoOmaggioDtoImpl( {this.promozioneOmaggioKey, this.articolo, this.quantita}); factory _$SyncPromoOmaggioDtoImpl.fromJson(Map json) => _$$SyncPromoOmaggioDtoImplFromJson(json); @override final PromoOmaggioKey? promozioneOmaggioKey; @override final ItemDto? articolo; @override final double? quantita; @override String toString() { return 'SyncPromoOmaggioDto(promozioneOmaggioKey: $promozioneOmaggioKey, articolo: $articolo, quantita: $quantita)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$SyncPromoOmaggioDtoImpl && (identical(other.promozioneOmaggioKey, promozioneOmaggioKey) || other.promozioneOmaggioKey == promozioneOmaggioKey) && (identical(other.articolo, articolo) || other.articolo == articolo) && (identical(other.quantita, quantita) || other.quantita == quantita)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, promozioneOmaggioKey, articolo, quantita); /// Create a copy of SyncPromoOmaggioDto /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$SyncPromoOmaggioDtoImplCopyWith<_$SyncPromoOmaggioDtoImpl> get copyWith => __$$SyncPromoOmaggioDtoImplCopyWithImpl<_$SyncPromoOmaggioDtoImpl>( this, _$identity); @override Map toJson() { return _$$SyncPromoOmaggioDtoImplToJson( this, ); } } abstract class _SyncPromoOmaggioDto implements SyncPromoOmaggioDto { const factory _SyncPromoOmaggioDto( {final PromoOmaggioKey? promozioneOmaggioKey, final ItemDto? articolo, final double? quantita}) = _$SyncPromoOmaggioDtoImpl; factory _SyncPromoOmaggioDto.fromJson(Map json) = _$SyncPromoOmaggioDtoImpl.fromJson; @override PromoOmaggioKey? get promozioneOmaggioKey; @override ItemDto? get articolo; @override double? get quantita; /// Create a copy of SyncPromoOmaggioDto /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$SyncPromoOmaggioDtoImplCopyWith<_$SyncPromoOmaggioDtoImpl> get copyWith => throw _privateConstructorUsedError; } PromoArticoloKey _$PromoArticoloKeyFromJson(Map json) { return _PromoArticoloKey.fromJson(json); } /// @nodoc mixin _$PromoArticoloKey { int? get progressivo => throw _privateConstructorUsedError; int? get riga => throw _privateConstructorUsedError; /// Serializes this PromoArticoloKey to a JSON map. Map toJson() => throw _privateConstructorUsedError; /// Create a copy of PromoArticoloKey /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $PromoArticoloKeyCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $PromoArticoloKeyCopyWith<$Res> { factory $PromoArticoloKeyCopyWith( PromoArticoloKey value, $Res Function(PromoArticoloKey) then) = _$PromoArticoloKeyCopyWithImpl<$Res, PromoArticoloKey>; @useResult $Res call({int? progressivo, int? riga}); } /// @nodoc class _$PromoArticoloKeyCopyWithImpl<$Res, $Val extends PromoArticoloKey> implements $PromoArticoloKeyCopyWith<$Res> { _$PromoArticoloKeyCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of PromoArticoloKey /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? progressivo = freezed, Object? riga = freezed, }) { return _then(_value.copyWith( progressivo: freezed == progressivo ? _value.progressivo : progressivo // ignore: cast_nullable_to_non_nullable as int?, riga: freezed == riga ? _value.riga : riga // ignore: cast_nullable_to_non_nullable as int?, ) as $Val); } } /// @nodoc abstract class _$$PromoArticoloKeyImplCopyWith<$Res> implements $PromoArticoloKeyCopyWith<$Res> { factory _$$PromoArticoloKeyImplCopyWith(_$PromoArticoloKeyImpl value, $Res Function(_$PromoArticoloKeyImpl) then) = __$$PromoArticoloKeyImplCopyWithImpl<$Res>; @override @useResult $Res call({int? progressivo, int? riga}); } /// @nodoc class __$$PromoArticoloKeyImplCopyWithImpl<$Res> extends _$PromoArticoloKeyCopyWithImpl<$Res, _$PromoArticoloKeyImpl> implements _$$PromoArticoloKeyImplCopyWith<$Res> { __$$PromoArticoloKeyImplCopyWithImpl(_$PromoArticoloKeyImpl _value, $Res Function(_$PromoArticoloKeyImpl) _then) : super(_value, _then); /// Create a copy of PromoArticoloKey /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? progressivo = freezed, Object? riga = freezed, }) { return _then(_$PromoArticoloKeyImpl( progressivo: freezed == progressivo ? _value.progressivo : progressivo // ignore: cast_nullable_to_non_nullable as int?, riga: freezed == riga ? _value.riga : riga // ignore: cast_nullable_to_non_nullable as int?, )); } } /// @nodoc @JsonSerializable() class _$PromoArticoloKeyImpl implements _PromoArticoloKey { const _$PromoArticoloKeyImpl({this.progressivo, this.riga}); factory _$PromoArticoloKeyImpl.fromJson(Map json) => _$$PromoArticoloKeyImplFromJson(json); @override final int? progressivo; @override final int? riga; @override String toString() { return 'PromoArticoloKey(progressivo: $progressivo, riga: $riga)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PromoArticoloKeyImpl && (identical(other.progressivo, progressivo) || other.progressivo == progressivo) && (identical(other.riga, riga) || other.riga == riga)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, progressivo, riga); /// Create a copy of PromoArticoloKey /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$PromoArticoloKeyImplCopyWith<_$PromoArticoloKeyImpl> get copyWith => __$$PromoArticoloKeyImplCopyWithImpl<_$PromoArticoloKeyImpl>( this, _$identity); @override Map toJson() { return _$$PromoArticoloKeyImplToJson( this, ); } } abstract class _PromoArticoloKey implements PromoArticoloKey { const factory _PromoArticoloKey({final int? progressivo, final int? riga}) = _$PromoArticoloKeyImpl; factory _PromoArticoloKey.fromJson(Map json) = _$PromoArticoloKeyImpl.fromJson; @override int? get progressivo; @override int? get riga; /// Create a copy of PromoArticoloKey /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$PromoArticoloKeyImplCopyWith<_$PromoArticoloKeyImpl> get copyWith => throw _privateConstructorUsedError; } PromoListinoKey _$PromoListinoKeyFromJson(Map json) { return _PromoListinoKey.fromJson(json); } /// @nodoc mixin _$PromoListinoKey { int? get progressivo => throw _privateConstructorUsedError; int? get idListino => throw _privateConstructorUsedError; /// Serializes this PromoListinoKey to a JSON map. Map toJson() => throw _privateConstructorUsedError; /// Create a copy of PromoListinoKey /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $PromoListinoKeyCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $PromoListinoKeyCopyWith<$Res> { factory $PromoListinoKeyCopyWith( PromoListinoKey value, $Res Function(PromoListinoKey) then) = _$PromoListinoKeyCopyWithImpl<$Res, PromoListinoKey>; @useResult $Res call({int? progressivo, int? idListino}); } /// @nodoc class _$PromoListinoKeyCopyWithImpl<$Res, $Val extends PromoListinoKey> implements $PromoListinoKeyCopyWith<$Res> { _$PromoListinoKeyCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of PromoListinoKey /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? progressivo = freezed, Object? idListino = freezed, }) { return _then(_value.copyWith( progressivo: freezed == progressivo ? _value.progressivo : progressivo // ignore: cast_nullable_to_non_nullable as int?, idListino: freezed == idListino ? _value.idListino : idListino // ignore: cast_nullable_to_non_nullable as int?, ) as $Val); } } /// @nodoc abstract class _$$PromoListinoKeyImplCopyWith<$Res> implements $PromoListinoKeyCopyWith<$Res> { factory _$$PromoListinoKeyImplCopyWith(_$PromoListinoKeyImpl value, $Res Function(_$PromoListinoKeyImpl) then) = __$$PromoListinoKeyImplCopyWithImpl<$Res>; @override @useResult $Res call({int? progressivo, int? idListino}); } /// @nodoc class __$$PromoListinoKeyImplCopyWithImpl<$Res> extends _$PromoListinoKeyCopyWithImpl<$Res, _$PromoListinoKeyImpl> implements _$$PromoListinoKeyImplCopyWith<$Res> { __$$PromoListinoKeyImplCopyWithImpl( _$PromoListinoKeyImpl _value, $Res Function(_$PromoListinoKeyImpl) _then) : super(_value, _then); /// Create a copy of PromoListinoKey /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? progressivo = freezed, Object? idListino = freezed, }) { return _then(_$PromoListinoKeyImpl( progressivo: freezed == progressivo ? _value.progressivo : progressivo // ignore: cast_nullable_to_non_nullable as int?, idListino: freezed == idListino ? _value.idListino : idListino // ignore: cast_nullable_to_non_nullable as int?, )); } } /// @nodoc @JsonSerializable() class _$PromoListinoKeyImpl implements _PromoListinoKey { const _$PromoListinoKeyImpl({this.progressivo, this.idListino}); factory _$PromoListinoKeyImpl.fromJson(Map json) => _$$PromoListinoKeyImplFromJson(json); @override final int? progressivo; @override final int? idListino; @override String toString() { return 'PromoListinoKey(progressivo: $progressivo, idListino: $idListino)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PromoListinoKeyImpl && (identical(other.progressivo, progressivo) || other.progressivo == progressivo) && (identical(other.idListino, idListino) || other.idListino == idListino)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, progressivo, idListino); /// Create a copy of PromoListinoKey /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$PromoListinoKeyImplCopyWith<_$PromoListinoKeyImpl> get copyWith => __$$PromoListinoKeyImplCopyWithImpl<_$PromoListinoKeyImpl>( this, _$identity); @override Map toJson() { return _$$PromoListinoKeyImplToJson( this, ); } } abstract class _PromoListinoKey implements PromoListinoKey { const factory _PromoListinoKey( {final int? progressivo, final int? idListino}) = _$PromoListinoKeyImpl; factory _PromoListinoKey.fromJson(Map json) = _$PromoListinoKeyImpl.fromJson; @override int? get progressivo; @override int? get idListino; /// Create a copy of PromoListinoKey /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$PromoListinoKeyImplCopyWith<_$PromoListinoKeyImpl> get copyWith => throw _privateConstructorUsedError; } PromoOmaggioKey _$PromoOmaggioKeyFromJson(Map json) { return _PromoOmaggioKey.fromJson(json); } /// @nodoc mixin _$PromoOmaggioKey { int? get progressivo => throw _privateConstructorUsedError; int? get riga => throw _privateConstructorUsedError; /// Serializes this PromoOmaggioKey to a JSON map. Map toJson() => throw _privateConstructorUsedError; /// Create a copy of PromoOmaggioKey /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $PromoOmaggioKeyCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $PromoOmaggioKeyCopyWith<$Res> { factory $PromoOmaggioKeyCopyWith( PromoOmaggioKey value, $Res Function(PromoOmaggioKey) then) = _$PromoOmaggioKeyCopyWithImpl<$Res, PromoOmaggioKey>; @useResult $Res call({int? progressivo, int? riga}); } /// @nodoc class _$PromoOmaggioKeyCopyWithImpl<$Res, $Val extends PromoOmaggioKey> implements $PromoOmaggioKeyCopyWith<$Res> { _$PromoOmaggioKeyCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of PromoOmaggioKey /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? progressivo = freezed, Object? riga = freezed, }) { return _then(_value.copyWith( progressivo: freezed == progressivo ? _value.progressivo : progressivo // ignore: cast_nullable_to_non_nullable as int?, riga: freezed == riga ? _value.riga : riga // ignore: cast_nullable_to_non_nullable as int?, ) as $Val); } } /// @nodoc abstract class _$$PromoOmaggioKeyImplCopyWith<$Res> implements $PromoOmaggioKeyCopyWith<$Res> { factory _$$PromoOmaggioKeyImplCopyWith(_$PromoOmaggioKeyImpl value, $Res Function(_$PromoOmaggioKeyImpl) then) = __$$PromoOmaggioKeyImplCopyWithImpl<$Res>; @override @useResult $Res call({int? progressivo, int? riga}); } /// @nodoc class __$$PromoOmaggioKeyImplCopyWithImpl<$Res> extends _$PromoOmaggioKeyCopyWithImpl<$Res, _$PromoOmaggioKeyImpl> implements _$$PromoOmaggioKeyImplCopyWith<$Res> { __$$PromoOmaggioKeyImplCopyWithImpl( _$PromoOmaggioKeyImpl _value, $Res Function(_$PromoOmaggioKeyImpl) _then) : super(_value, _then); /// Create a copy of PromoOmaggioKey /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? progressivo = freezed, Object? riga = freezed, }) { return _then(_$PromoOmaggioKeyImpl( progressivo: freezed == progressivo ? _value.progressivo : progressivo // ignore: cast_nullable_to_non_nullable as int?, riga: freezed == riga ? _value.riga : riga // ignore: cast_nullable_to_non_nullable as int?, )); } } /// @nodoc @JsonSerializable() class _$PromoOmaggioKeyImpl implements _PromoOmaggioKey { const _$PromoOmaggioKeyImpl({this.progressivo, this.riga}); factory _$PromoOmaggioKeyImpl.fromJson(Map json) => _$$PromoOmaggioKeyImplFromJson(json); @override final int? progressivo; @override final int? riga; @override String toString() { return 'PromoOmaggioKey(progressivo: $progressivo, riga: $riga)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PromoOmaggioKeyImpl && (identical(other.progressivo, progressivo) || other.progressivo == progressivo) && (identical(other.riga, riga) || other.riga == riga)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, progressivo, riga); /// Create a copy of PromoOmaggioKey /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$PromoOmaggioKeyImplCopyWith<_$PromoOmaggioKeyImpl> get copyWith => __$$PromoOmaggioKeyImplCopyWithImpl<_$PromoOmaggioKeyImpl>( this, _$identity); @override Map toJson() { return _$$PromoOmaggioKeyImplToJson( this, ); } } abstract class _PromoOmaggioKey implements PromoOmaggioKey { const factory _PromoOmaggioKey({final int? progressivo, final int? riga}) = _$PromoOmaggioKeyImpl; factory _PromoOmaggioKey.fromJson(Map json) = _$PromoOmaggioKeyImpl.fromJson; @override int? get progressivo; @override int? get riga; /// Create a copy of PromoOmaggioKey /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$PromoOmaggioKeyImplCopyWith<_$PromoOmaggioKeyImpl> get copyWith => throw _privateConstructorUsedError; } ItemDto _$ItemDtoFromJson(Map json) { return _ItemDto.fromJson(json); } /// @nodoc mixin _$ItemDto { int? get idArticolo => throw _privateConstructorUsedError; String? get codArticolo => throw _privateConstructorUsedError; String? get descrizione => throw _privateConstructorUsedError; double? get prezzo => throw _privateConstructorUsedError; String? get unitaMisura => throw _privateConstructorUsedError; String? get fileFoto => throw _privateConstructorUsedError; /// Serializes this ItemDto to a JSON map. Map toJson() => throw _privateConstructorUsedError; /// Create a copy of ItemDto /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $ItemDtoCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $ItemDtoCopyWith<$Res> { factory $ItemDtoCopyWith(ItemDto value, $Res Function(ItemDto) then) = _$ItemDtoCopyWithImpl<$Res, ItemDto>; @useResult $Res call( {int? idArticolo, String? codArticolo, String? descrizione, double? prezzo, String? unitaMisura, String? fileFoto}); } /// @nodoc class _$ItemDtoCopyWithImpl<$Res, $Val extends ItemDto> implements $ItemDtoCopyWith<$Res> { _$ItemDtoCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of ItemDto /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? idArticolo = freezed, Object? codArticolo = freezed, Object? descrizione = freezed, Object? prezzo = freezed, Object? unitaMisura = freezed, Object? fileFoto = freezed, }) { return _then(_value.copyWith( idArticolo: freezed == idArticolo ? _value.idArticolo : idArticolo // ignore: cast_nullable_to_non_nullable as int?, codArticolo: freezed == codArticolo ? _value.codArticolo : codArticolo // ignore: cast_nullable_to_non_nullable as String?, descrizione: freezed == descrizione ? _value.descrizione : descrizione // ignore: cast_nullable_to_non_nullable as String?, prezzo: freezed == prezzo ? _value.prezzo : prezzo // ignore: cast_nullable_to_non_nullable as double?, unitaMisura: freezed == unitaMisura ? _value.unitaMisura : unitaMisura // ignore: cast_nullable_to_non_nullable as String?, fileFoto: freezed == fileFoto ? _value.fileFoto : fileFoto // ignore: cast_nullable_to_non_nullable as String?, ) as $Val); } } /// @nodoc abstract class _$$ItemDtoImplCopyWith<$Res> implements $ItemDtoCopyWith<$Res> { factory _$$ItemDtoImplCopyWith( _$ItemDtoImpl value, $Res Function(_$ItemDtoImpl) then) = __$$ItemDtoImplCopyWithImpl<$Res>; @override @useResult $Res call( {int? idArticolo, String? codArticolo, String? descrizione, double? prezzo, String? unitaMisura, String? fileFoto}); } /// @nodoc class __$$ItemDtoImplCopyWithImpl<$Res> extends _$ItemDtoCopyWithImpl<$Res, _$ItemDtoImpl> implements _$$ItemDtoImplCopyWith<$Res> { __$$ItemDtoImplCopyWithImpl( _$ItemDtoImpl _value, $Res Function(_$ItemDtoImpl) _then) : super(_value, _then); /// Create a copy of ItemDto /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? idArticolo = freezed, Object? codArticolo = freezed, Object? descrizione = freezed, Object? prezzo = freezed, Object? unitaMisura = freezed, Object? fileFoto = freezed, }) { return _then(_$ItemDtoImpl( idArticolo: freezed == idArticolo ? _value.idArticolo : idArticolo // ignore: cast_nullable_to_non_nullable as int?, codArticolo: freezed == codArticolo ? _value.codArticolo : codArticolo // ignore: cast_nullable_to_non_nullable as String?, descrizione: freezed == descrizione ? _value.descrizione : descrizione // ignore: cast_nullable_to_non_nullable as String?, prezzo: freezed == prezzo ? _value.prezzo : prezzo // ignore: cast_nullable_to_non_nullable as double?, unitaMisura: freezed == unitaMisura ? _value.unitaMisura : unitaMisura // ignore: cast_nullable_to_non_nullable as String?, fileFoto: freezed == fileFoto ? _value.fileFoto : fileFoto // ignore: cast_nullable_to_non_nullable as String?, )); } } /// @nodoc @JsonSerializable() class _$ItemDtoImpl implements _ItemDto { const _$ItemDtoImpl( {this.idArticolo, this.codArticolo, this.descrizione, this.prezzo, this.unitaMisura, this.fileFoto}); factory _$ItemDtoImpl.fromJson(Map json) => _$$ItemDtoImplFromJson(json); @override final int? idArticolo; @override final String? codArticolo; @override final String? descrizione; @override final double? prezzo; @override final String? unitaMisura; @override final String? fileFoto; @override String toString() { return 'ItemDto(idArticolo: $idArticolo, codArticolo: $codArticolo, descrizione: $descrizione, prezzo: $prezzo, unitaMisura: $unitaMisura, fileFoto: $fileFoto)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ItemDtoImpl && (identical(other.idArticolo, idArticolo) || other.idArticolo == idArticolo) && (identical(other.codArticolo, codArticolo) || other.codArticolo == codArticolo) && (identical(other.descrizione, descrizione) || other.descrizione == descrizione) && (identical(other.prezzo, prezzo) || other.prezzo == prezzo) && (identical(other.unitaMisura, unitaMisura) || other.unitaMisura == unitaMisura) && (identical(other.fileFoto, fileFoto) || other.fileFoto == fileFoto)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, idArticolo, codArticolo, descrizione, prezzo, unitaMisura, fileFoto); /// Create a copy of ItemDto /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$ItemDtoImplCopyWith<_$ItemDtoImpl> get copyWith => __$$ItemDtoImplCopyWithImpl<_$ItemDtoImpl>(this, _$identity); @override Map toJson() { return _$$ItemDtoImplToJson( this, ); } } abstract class _ItemDto implements ItemDto { const factory _ItemDto( {final int? idArticolo, final String? codArticolo, final String? descrizione, final double? prezzo, final String? unitaMisura, final String? fileFoto}) = _$ItemDtoImpl; factory _ItemDto.fromJson(Map json) = _$ItemDtoImpl.fromJson; @override int? get idArticolo; @override String? get codArticolo; @override String? get descrizione; @override double? get prezzo; @override String? get unitaMisura; @override String? get fileFoto; /// Create a copy of ItemDto /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$ItemDtoImplCopyWith<_$ItemDtoImpl> get copyWith => throw _privateConstructorUsedError; } ListinoDto _$ListinoDtoFromJson(Map json) { return _ListinoDto.fromJson(json); } /// @nodoc mixin _$ListinoDto { int? get idListino => throw _privateConstructorUsedError; String? get codListino => throw _privateConstructorUsedError; String? get descrizione => throw _privateConstructorUsedError; /// Serializes this ListinoDto to a JSON map. Map toJson() => throw _privateConstructorUsedError; /// Create a copy of ListinoDto /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $ListinoDtoCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $ListinoDtoCopyWith<$Res> { factory $ListinoDtoCopyWith( ListinoDto value, $Res Function(ListinoDto) then) = _$ListinoDtoCopyWithImpl<$Res, ListinoDto>; @useResult $Res call({int? idListino, String? codListino, String? descrizione}); } /// @nodoc class _$ListinoDtoCopyWithImpl<$Res, $Val extends ListinoDto> implements $ListinoDtoCopyWith<$Res> { _$ListinoDtoCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of ListinoDto /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? idListino = freezed, Object? codListino = freezed, Object? descrizione = freezed, }) { return _then(_value.copyWith( idListino: freezed == idListino ? _value.idListino : idListino // ignore: cast_nullable_to_non_nullable as int?, codListino: freezed == codListino ? _value.codListino : codListino // ignore: cast_nullable_to_non_nullable as String?, descrizione: freezed == descrizione ? _value.descrizione : descrizione // ignore: cast_nullable_to_non_nullable as String?, ) as $Val); } } /// @nodoc abstract class _$$ListinoDtoImplCopyWith<$Res> implements $ListinoDtoCopyWith<$Res> { factory _$$ListinoDtoImplCopyWith( _$ListinoDtoImpl value, $Res Function(_$ListinoDtoImpl) then) = __$$ListinoDtoImplCopyWithImpl<$Res>; @override @useResult $Res call({int? idListino, String? codListino, String? descrizione}); } /// @nodoc class __$$ListinoDtoImplCopyWithImpl<$Res> extends _$ListinoDtoCopyWithImpl<$Res, _$ListinoDtoImpl> implements _$$ListinoDtoImplCopyWith<$Res> { __$$ListinoDtoImplCopyWithImpl( _$ListinoDtoImpl _value, $Res Function(_$ListinoDtoImpl) _then) : super(_value, _then); /// Create a copy of ListinoDto /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? idListino = freezed, Object? codListino = freezed, Object? descrizione = freezed, }) { return _then(_$ListinoDtoImpl( idListino: freezed == idListino ? _value.idListino : idListino // ignore: cast_nullable_to_non_nullable as int?, codListino: freezed == codListino ? _value.codListino : codListino // ignore: cast_nullable_to_non_nullable as String?, descrizione: freezed == descrizione ? _value.descrizione : descrizione // ignore: cast_nullable_to_non_nullable as String?, )); } } /// @nodoc @JsonSerializable() class _$ListinoDtoImpl implements _ListinoDto { const _$ListinoDtoImpl({this.idListino, this.codListino, this.descrizione}); factory _$ListinoDtoImpl.fromJson(Map json) => _$$ListinoDtoImplFromJson(json); @override final int? idListino; @override final String? codListino; @override final String? descrizione; @override String toString() { return 'ListinoDto(idListino: $idListino, codListino: $codListino, descrizione: $descrizione)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ListinoDtoImpl && (identical(other.idListino, idListino) || other.idListino == idListino) && (identical(other.codListino, codListino) || other.codListino == codListino) && (identical(other.descrizione, descrizione) || other.descrizione == descrizione)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, idListino, codListino, descrizione); /// Create a copy of ListinoDto /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$ListinoDtoImplCopyWith<_$ListinoDtoImpl> get copyWith => __$$ListinoDtoImplCopyWithImpl<_$ListinoDtoImpl>(this, _$identity); @override Map toJson() { return _$$ListinoDtoImplToJson( this, ); } } abstract class _ListinoDto implements ListinoDto { const factory _ListinoDto( {final int? idListino, final String? codListino, final String? descrizione}) = _$ListinoDtoImpl; factory _ListinoDto.fromJson(Map json) = _$ListinoDtoImpl.fromJson; @override int? get idListino; @override String? get codListino; @override String? get descrizione; /// Create a copy of ListinoDto /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$ListinoDtoImplCopyWith<_$ListinoDtoImpl> get copyWith => throw _privateConstructorUsedError; } ScontoDto _$ScontoDtoFromJson(Map json) { return _ScontoDto.fromJson(json); } /// @nodoc mixin _$ScontoDto { int? get idSconto => throw _privateConstructorUsedError; String? get codSconto => throw _privateConstructorUsedError; String? get descrizione => throw _privateConstructorUsedError; double? get sconto1 => throw _privateConstructorUsedError; double? get sconto2 => throw _privateConstructorUsedError; double? get sconto3 => throw _privateConstructorUsedError; double? get sconto4 => throw _privateConstructorUsedError; double? get sconto5 => throw _privateConstructorUsedError; /// Serializes this ScontoDto to a JSON map. Map toJson() => throw _privateConstructorUsedError; /// Create a copy of ScontoDto /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $ScontoDtoCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $ScontoDtoCopyWith<$Res> { factory $ScontoDtoCopyWith(ScontoDto value, $Res Function(ScontoDto) then) = _$ScontoDtoCopyWithImpl<$Res, ScontoDto>; @useResult $Res call( {int? idSconto, String? codSconto, String? descrizione, double? sconto1, double? sconto2, double? sconto3, double? sconto4, double? sconto5}); } /// @nodoc class _$ScontoDtoCopyWithImpl<$Res, $Val extends ScontoDto> implements $ScontoDtoCopyWith<$Res> { _$ScontoDtoCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of ScontoDto /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? idSconto = freezed, Object? codSconto = freezed, Object? descrizione = freezed, Object? sconto1 = freezed, Object? sconto2 = freezed, Object? sconto3 = freezed, Object? sconto4 = freezed, Object? sconto5 = freezed, }) { return _then(_value.copyWith( idSconto: freezed == idSconto ? _value.idSconto : idSconto // ignore: cast_nullable_to_non_nullable as int?, codSconto: freezed == codSconto ? _value.codSconto : codSconto // ignore: cast_nullable_to_non_nullable as String?, descrizione: freezed == descrizione ? _value.descrizione : descrizione // ignore: cast_nullable_to_non_nullable as String?, sconto1: freezed == sconto1 ? _value.sconto1 : sconto1 // ignore: cast_nullable_to_non_nullable as double?, sconto2: freezed == sconto2 ? _value.sconto2 : sconto2 // ignore: cast_nullable_to_non_nullable as double?, sconto3: freezed == sconto3 ? _value.sconto3 : sconto3 // ignore: cast_nullable_to_non_nullable as double?, sconto4: freezed == sconto4 ? _value.sconto4 : sconto4 // ignore: cast_nullable_to_non_nullable as double?, sconto5: freezed == sconto5 ? _value.sconto5 : sconto5 // ignore: cast_nullable_to_non_nullable as double?, ) as $Val); } } /// @nodoc abstract class _$$ScontoDtoImplCopyWith<$Res> implements $ScontoDtoCopyWith<$Res> { factory _$$ScontoDtoImplCopyWith( _$ScontoDtoImpl value, $Res Function(_$ScontoDtoImpl) then) = __$$ScontoDtoImplCopyWithImpl<$Res>; @override @useResult $Res call( {int? idSconto, String? codSconto, String? descrizione, double? sconto1, double? sconto2, double? sconto3, double? sconto4, double? sconto5}); } /// @nodoc class __$$ScontoDtoImplCopyWithImpl<$Res> extends _$ScontoDtoCopyWithImpl<$Res, _$ScontoDtoImpl> implements _$$ScontoDtoImplCopyWith<$Res> { __$$ScontoDtoImplCopyWithImpl( _$ScontoDtoImpl _value, $Res Function(_$ScontoDtoImpl) _then) : super(_value, _then); /// Create a copy of ScontoDto /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? idSconto = freezed, Object? codSconto = freezed, Object? descrizione = freezed, Object? sconto1 = freezed, Object? sconto2 = freezed, Object? sconto3 = freezed, Object? sconto4 = freezed, Object? sconto5 = freezed, }) { return _then(_$ScontoDtoImpl( idSconto: freezed == idSconto ? _value.idSconto : idSconto // ignore: cast_nullable_to_non_nullable as int?, codSconto: freezed == codSconto ? _value.codSconto : codSconto // ignore: cast_nullable_to_non_nullable as String?, descrizione: freezed == descrizione ? _value.descrizione : descrizione // ignore: cast_nullable_to_non_nullable as String?, sconto1: freezed == sconto1 ? _value.sconto1 : sconto1 // ignore: cast_nullable_to_non_nullable as double?, sconto2: freezed == sconto2 ? _value.sconto2 : sconto2 // ignore: cast_nullable_to_non_nullable as double?, sconto3: freezed == sconto3 ? _value.sconto3 : sconto3 // ignore: cast_nullable_to_non_nullable as double?, sconto4: freezed == sconto4 ? _value.sconto4 : sconto4 // ignore: cast_nullable_to_non_nullable as double?, sconto5: freezed == sconto5 ? _value.sconto5 : sconto5 // ignore: cast_nullable_to_non_nullable as double?, )); } } /// @nodoc @JsonSerializable() class _$ScontoDtoImpl implements _ScontoDto { const _$ScontoDtoImpl( {this.idSconto, this.codSconto, this.descrizione, this.sconto1, this.sconto2, this.sconto3, this.sconto4, this.sconto5}); factory _$ScontoDtoImpl.fromJson(Map json) => _$$ScontoDtoImplFromJson(json); @override final int? idSconto; @override final String? codSconto; @override final String? descrizione; @override final double? sconto1; @override final double? sconto2; @override final double? sconto3; @override final double? sconto4; @override final double? sconto5; @override String toString() { return 'ScontoDto(idSconto: $idSconto, codSconto: $codSconto, descrizione: $descrizione, sconto1: $sconto1, sconto2: $sconto2, sconto3: $sconto3, sconto4: $sconto4, sconto5: $sconto5)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ScontoDtoImpl && (identical(other.idSconto, idSconto) || other.idSconto == idSconto) && (identical(other.codSconto, codSconto) || other.codSconto == codSconto) && (identical(other.descrizione, descrizione) || other.descrizione == descrizione) && (identical(other.sconto1, sconto1) || other.sconto1 == sconto1) && (identical(other.sconto2, sconto2) || other.sconto2 == sconto2) && (identical(other.sconto3, sconto3) || other.sconto3 == sconto3) && (identical(other.sconto4, sconto4) || other.sconto4 == sconto4) && (identical(other.sconto5, sconto5) || other.sconto5 == sconto5)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, idSconto, codSconto, descrizione, sconto1, sconto2, sconto3, sconto4, sconto5); /// Create a copy of ScontoDto /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$ScontoDtoImplCopyWith<_$ScontoDtoImpl> get copyWith => __$$ScontoDtoImplCopyWithImpl<_$ScontoDtoImpl>(this, _$identity); @override Map toJson() { return _$$ScontoDtoImplToJson( this, ); } } abstract class _ScontoDto implements ScontoDto { const factory _ScontoDto( {final int? idSconto, final String? codSconto, final String? descrizione, final double? sconto1, final double? sconto2, final double? sconto3, final double? sconto4, final double? sconto5}) = _$ScontoDtoImpl; factory _ScontoDto.fromJson(Map json) = _$ScontoDtoImpl.fromJson; @override int? get idSconto; @override String? get codSconto; @override String? get descrizione; @override double? get sconto1; @override double? get sconto2; @override double? get sconto3; @override double? get sconto4; @override double? get sconto5; /// Create a copy of ScontoDto /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$ScontoDtoImplCopyWith<_$ScontoDtoImpl> get copyWith => throw _privateConstructorUsedError; }