sync_promo_dto.freezed.dart 82 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597
  1. // coverage:ignore-file
  2. // GENERATED CODE - DO NOT MODIFY BY HAND
  3. // ignore_for_file: type=lint
  4. // 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
  5. part of 'sync_promo_dto.dart';
  6. // **************************************************************************
  7. // FreezedGenerator
  8. // **************************************************************************
  9. T _$identity<T>(T value) => value;
  10. final _privateConstructorUsedError = UnsupportedError(
  11. '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',
  12. );
  13. SyncPromoDto _$SyncPromoDtoFromJson(Map<String, dynamic> json) {
  14. return _SyncPromoDto.fromJson(json);
  15. }
  16. /// @nodoc
  17. mixin _$SyncPromoDto {
  18. int? get progressivo => throw _privateConstructorUsedError;
  19. int? get tipoPromozione => throw _privateConstructorUsedError;
  20. String? get descrizione => throw _privateConstructorUsedError;
  21. String? get dataInizio => throw _privateConstructorUsedError;
  22. String? get dataFine => throw _privateConstructorUsedError;
  23. double? get limiteQta => throw _privateConstructorUsedError;
  24. double? get quantitaOmaggio => throw _privateConstructorUsedError;
  25. double? get limiteImporto => throw _privateConstructorUsedError;
  26. String? get stato => throw _privateConstructorUsedError;
  27. int? get priorita => throw _privateConstructorUsedError;
  28. int? get codice => throw _privateConstructorUsedError;
  29. ItemDto? get articoloPromo => throw _privateConstructorUsedError;
  30. ItemDto? get articoloOmaggio => throw _privateConstructorUsedError;
  31. ListinoDto? get listinoOmaggio => throw _privateConstructorUsedError;
  32. ScontoDto? get sconto => throw _privateConstructorUsedError;
  33. List<SyncPromoArtDto> get promozioneArticoli =>
  34. throw _privateConstructorUsedError;
  35. List<SyncPromoListiniDto> get promozioneListini =>
  36. throw _privateConstructorUsedError;
  37. List<SyncPromoOmaggioDto> get promozioneOmaggio =>
  38. throw _privateConstructorUsedError;
  39. /// Serializes this SyncPromoDto to a JSON map.
  40. Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
  41. /// Create a copy of SyncPromoDto
  42. /// with the given fields replaced by the non-null parameter values.
  43. @JsonKey(includeFromJson: false, includeToJson: false)
  44. $SyncPromoDtoCopyWith<SyncPromoDto> get copyWith =>
  45. throw _privateConstructorUsedError;
  46. }
  47. /// @nodoc
  48. abstract class $SyncPromoDtoCopyWith<$Res> {
  49. factory $SyncPromoDtoCopyWith(
  50. SyncPromoDto value,
  51. $Res Function(SyncPromoDto) then,
  52. ) = _$SyncPromoDtoCopyWithImpl<$Res, SyncPromoDto>;
  53. @useResult
  54. $Res call({
  55. int? progressivo,
  56. int? tipoPromozione,
  57. String? descrizione,
  58. String? dataInizio,
  59. String? dataFine,
  60. double? limiteQta,
  61. double? quantitaOmaggio,
  62. double? limiteImporto,
  63. String? stato,
  64. int? priorita,
  65. int? codice,
  66. ItemDto? articoloPromo,
  67. ItemDto? articoloOmaggio,
  68. ListinoDto? listinoOmaggio,
  69. ScontoDto? sconto,
  70. List<SyncPromoArtDto> promozioneArticoli,
  71. List<SyncPromoListiniDto> promozioneListini,
  72. List<SyncPromoOmaggioDto> promozioneOmaggio,
  73. });
  74. $ItemDtoCopyWith<$Res>? get articoloPromo;
  75. $ItemDtoCopyWith<$Res>? get articoloOmaggio;
  76. $ListinoDtoCopyWith<$Res>? get listinoOmaggio;
  77. $ScontoDtoCopyWith<$Res>? get sconto;
  78. }
  79. /// @nodoc
  80. class _$SyncPromoDtoCopyWithImpl<$Res, $Val extends SyncPromoDto>
  81. implements $SyncPromoDtoCopyWith<$Res> {
  82. _$SyncPromoDtoCopyWithImpl(this._value, this._then);
  83. // ignore: unused_field
  84. final $Val _value;
  85. // ignore: unused_field
  86. final $Res Function($Val) _then;
  87. /// Create a copy of SyncPromoDto
  88. /// with the given fields replaced by the non-null parameter values.
  89. @pragma('vm:prefer-inline')
  90. @override
  91. $Res call({
  92. Object? progressivo = freezed,
  93. Object? tipoPromozione = freezed,
  94. Object? descrizione = freezed,
  95. Object? dataInizio = freezed,
  96. Object? dataFine = freezed,
  97. Object? limiteQta = freezed,
  98. Object? quantitaOmaggio = freezed,
  99. Object? limiteImporto = freezed,
  100. Object? stato = freezed,
  101. Object? priorita = freezed,
  102. Object? codice = freezed,
  103. Object? articoloPromo = freezed,
  104. Object? articoloOmaggio = freezed,
  105. Object? listinoOmaggio = freezed,
  106. Object? sconto = freezed,
  107. Object? promozioneArticoli = null,
  108. Object? promozioneListini = null,
  109. Object? promozioneOmaggio = null,
  110. }) {
  111. return _then(
  112. _value.copyWith(
  113. progressivo: freezed == progressivo
  114. ? _value.progressivo
  115. : progressivo // ignore: cast_nullable_to_non_nullable
  116. as int?,
  117. tipoPromozione: freezed == tipoPromozione
  118. ? _value.tipoPromozione
  119. : tipoPromozione // ignore: cast_nullable_to_non_nullable
  120. as int?,
  121. descrizione: freezed == descrizione
  122. ? _value.descrizione
  123. : descrizione // ignore: cast_nullable_to_non_nullable
  124. as String?,
  125. dataInizio: freezed == dataInizio
  126. ? _value.dataInizio
  127. : dataInizio // ignore: cast_nullable_to_non_nullable
  128. as String?,
  129. dataFine: freezed == dataFine
  130. ? _value.dataFine
  131. : dataFine // ignore: cast_nullable_to_non_nullable
  132. as String?,
  133. limiteQta: freezed == limiteQta
  134. ? _value.limiteQta
  135. : limiteQta // ignore: cast_nullable_to_non_nullable
  136. as double?,
  137. quantitaOmaggio: freezed == quantitaOmaggio
  138. ? _value.quantitaOmaggio
  139. : quantitaOmaggio // ignore: cast_nullable_to_non_nullable
  140. as double?,
  141. limiteImporto: freezed == limiteImporto
  142. ? _value.limiteImporto
  143. : limiteImporto // ignore: cast_nullable_to_non_nullable
  144. as double?,
  145. stato: freezed == stato
  146. ? _value.stato
  147. : stato // ignore: cast_nullable_to_non_nullable
  148. as String?,
  149. priorita: freezed == priorita
  150. ? _value.priorita
  151. : priorita // ignore: cast_nullable_to_non_nullable
  152. as int?,
  153. codice: freezed == codice
  154. ? _value.codice
  155. : codice // ignore: cast_nullable_to_non_nullable
  156. as int?,
  157. articoloPromo: freezed == articoloPromo
  158. ? _value.articoloPromo
  159. : articoloPromo // ignore: cast_nullable_to_non_nullable
  160. as ItemDto?,
  161. articoloOmaggio: freezed == articoloOmaggio
  162. ? _value.articoloOmaggio
  163. : articoloOmaggio // ignore: cast_nullable_to_non_nullable
  164. as ItemDto?,
  165. listinoOmaggio: freezed == listinoOmaggio
  166. ? _value.listinoOmaggio
  167. : listinoOmaggio // ignore: cast_nullable_to_non_nullable
  168. as ListinoDto?,
  169. sconto: freezed == sconto
  170. ? _value.sconto
  171. : sconto // ignore: cast_nullable_to_non_nullable
  172. as ScontoDto?,
  173. promozioneArticoli: null == promozioneArticoli
  174. ? _value.promozioneArticoli
  175. : promozioneArticoli // ignore: cast_nullable_to_non_nullable
  176. as List<SyncPromoArtDto>,
  177. promozioneListini: null == promozioneListini
  178. ? _value.promozioneListini
  179. : promozioneListini // ignore: cast_nullable_to_non_nullable
  180. as List<SyncPromoListiniDto>,
  181. promozioneOmaggio: null == promozioneOmaggio
  182. ? _value.promozioneOmaggio
  183. : promozioneOmaggio // ignore: cast_nullable_to_non_nullable
  184. as List<SyncPromoOmaggioDto>,
  185. )
  186. as $Val,
  187. );
  188. }
  189. /// Create a copy of SyncPromoDto
  190. /// with the given fields replaced by the non-null parameter values.
  191. @override
  192. @pragma('vm:prefer-inline')
  193. $ItemDtoCopyWith<$Res>? get articoloPromo {
  194. if (_value.articoloPromo == null) {
  195. return null;
  196. }
  197. return $ItemDtoCopyWith<$Res>(_value.articoloPromo!, (value) {
  198. return _then(_value.copyWith(articoloPromo: value) as $Val);
  199. });
  200. }
  201. /// Create a copy of SyncPromoDto
  202. /// with the given fields replaced by the non-null parameter values.
  203. @override
  204. @pragma('vm:prefer-inline')
  205. $ItemDtoCopyWith<$Res>? get articoloOmaggio {
  206. if (_value.articoloOmaggio == null) {
  207. return null;
  208. }
  209. return $ItemDtoCopyWith<$Res>(_value.articoloOmaggio!, (value) {
  210. return _then(_value.copyWith(articoloOmaggio: value) as $Val);
  211. });
  212. }
  213. /// Create a copy of SyncPromoDto
  214. /// with the given fields replaced by the non-null parameter values.
  215. @override
  216. @pragma('vm:prefer-inline')
  217. $ListinoDtoCopyWith<$Res>? get listinoOmaggio {
  218. if (_value.listinoOmaggio == null) {
  219. return null;
  220. }
  221. return $ListinoDtoCopyWith<$Res>(_value.listinoOmaggio!, (value) {
  222. return _then(_value.copyWith(listinoOmaggio: value) as $Val);
  223. });
  224. }
  225. /// Create a copy of SyncPromoDto
  226. /// with the given fields replaced by the non-null parameter values.
  227. @override
  228. @pragma('vm:prefer-inline')
  229. $ScontoDtoCopyWith<$Res>? get sconto {
  230. if (_value.sconto == null) {
  231. return null;
  232. }
  233. return $ScontoDtoCopyWith<$Res>(_value.sconto!, (value) {
  234. return _then(_value.copyWith(sconto: value) as $Val);
  235. });
  236. }
  237. }
  238. /// @nodoc
  239. abstract class _$$SyncPromoDtoImplCopyWith<$Res>
  240. implements $SyncPromoDtoCopyWith<$Res> {
  241. factory _$$SyncPromoDtoImplCopyWith(
  242. _$SyncPromoDtoImpl value,
  243. $Res Function(_$SyncPromoDtoImpl) then,
  244. ) = __$$SyncPromoDtoImplCopyWithImpl<$Res>;
  245. @override
  246. @useResult
  247. $Res call({
  248. int? progressivo,
  249. int? tipoPromozione,
  250. String? descrizione,
  251. String? dataInizio,
  252. String? dataFine,
  253. double? limiteQta,
  254. double? quantitaOmaggio,
  255. double? limiteImporto,
  256. String? stato,
  257. int? priorita,
  258. int? codice,
  259. ItemDto? articoloPromo,
  260. ItemDto? articoloOmaggio,
  261. ListinoDto? listinoOmaggio,
  262. ScontoDto? sconto,
  263. List<SyncPromoArtDto> promozioneArticoli,
  264. List<SyncPromoListiniDto> promozioneListini,
  265. List<SyncPromoOmaggioDto> promozioneOmaggio,
  266. });
  267. @override
  268. $ItemDtoCopyWith<$Res>? get articoloPromo;
  269. @override
  270. $ItemDtoCopyWith<$Res>? get articoloOmaggio;
  271. @override
  272. $ListinoDtoCopyWith<$Res>? get listinoOmaggio;
  273. @override
  274. $ScontoDtoCopyWith<$Res>? get sconto;
  275. }
  276. /// @nodoc
  277. class __$$SyncPromoDtoImplCopyWithImpl<$Res>
  278. extends _$SyncPromoDtoCopyWithImpl<$Res, _$SyncPromoDtoImpl>
  279. implements _$$SyncPromoDtoImplCopyWith<$Res> {
  280. __$$SyncPromoDtoImplCopyWithImpl(
  281. _$SyncPromoDtoImpl _value,
  282. $Res Function(_$SyncPromoDtoImpl) _then,
  283. ) : super(_value, _then);
  284. /// Create a copy of SyncPromoDto
  285. /// with the given fields replaced by the non-null parameter values.
  286. @pragma('vm:prefer-inline')
  287. @override
  288. $Res call({
  289. Object? progressivo = freezed,
  290. Object? tipoPromozione = freezed,
  291. Object? descrizione = freezed,
  292. Object? dataInizio = freezed,
  293. Object? dataFine = freezed,
  294. Object? limiteQta = freezed,
  295. Object? quantitaOmaggio = freezed,
  296. Object? limiteImporto = freezed,
  297. Object? stato = freezed,
  298. Object? priorita = freezed,
  299. Object? codice = freezed,
  300. Object? articoloPromo = freezed,
  301. Object? articoloOmaggio = freezed,
  302. Object? listinoOmaggio = freezed,
  303. Object? sconto = freezed,
  304. Object? promozioneArticoli = null,
  305. Object? promozioneListini = null,
  306. Object? promozioneOmaggio = null,
  307. }) {
  308. return _then(
  309. _$SyncPromoDtoImpl(
  310. progressivo: freezed == progressivo
  311. ? _value.progressivo
  312. : progressivo // ignore: cast_nullable_to_non_nullable
  313. as int?,
  314. tipoPromozione: freezed == tipoPromozione
  315. ? _value.tipoPromozione
  316. : tipoPromozione // ignore: cast_nullable_to_non_nullable
  317. as int?,
  318. descrizione: freezed == descrizione
  319. ? _value.descrizione
  320. : descrizione // ignore: cast_nullable_to_non_nullable
  321. as String?,
  322. dataInizio: freezed == dataInizio
  323. ? _value.dataInizio
  324. : dataInizio // ignore: cast_nullable_to_non_nullable
  325. as String?,
  326. dataFine: freezed == dataFine
  327. ? _value.dataFine
  328. : dataFine // ignore: cast_nullable_to_non_nullable
  329. as String?,
  330. limiteQta: freezed == limiteQta
  331. ? _value.limiteQta
  332. : limiteQta // ignore: cast_nullable_to_non_nullable
  333. as double?,
  334. quantitaOmaggio: freezed == quantitaOmaggio
  335. ? _value.quantitaOmaggio
  336. : quantitaOmaggio // ignore: cast_nullable_to_non_nullable
  337. as double?,
  338. limiteImporto: freezed == limiteImporto
  339. ? _value.limiteImporto
  340. : limiteImporto // ignore: cast_nullable_to_non_nullable
  341. as double?,
  342. stato: freezed == stato
  343. ? _value.stato
  344. : stato // ignore: cast_nullable_to_non_nullable
  345. as String?,
  346. priorita: freezed == priorita
  347. ? _value.priorita
  348. : priorita // ignore: cast_nullable_to_non_nullable
  349. as int?,
  350. codice: freezed == codice
  351. ? _value.codice
  352. : codice // ignore: cast_nullable_to_non_nullable
  353. as int?,
  354. articoloPromo: freezed == articoloPromo
  355. ? _value.articoloPromo
  356. : articoloPromo // ignore: cast_nullable_to_non_nullable
  357. as ItemDto?,
  358. articoloOmaggio: freezed == articoloOmaggio
  359. ? _value.articoloOmaggio
  360. : articoloOmaggio // ignore: cast_nullable_to_non_nullable
  361. as ItemDto?,
  362. listinoOmaggio: freezed == listinoOmaggio
  363. ? _value.listinoOmaggio
  364. : listinoOmaggio // ignore: cast_nullable_to_non_nullable
  365. as ListinoDto?,
  366. sconto: freezed == sconto
  367. ? _value.sconto
  368. : sconto // ignore: cast_nullable_to_non_nullable
  369. as ScontoDto?,
  370. promozioneArticoli: null == promozioneArticoli
  371. ? _value._promozioneArticoli
  372. : promozioneArticoli // ignore: cast_nullable_to_non_nullable
  373. as List<SyncPromoArtDto>,
  374. promozioneListini: null == promozioneListini
  375. ? _value._promozioneListini
  376. : promozioneListini // ignore: cast_nullable_to_non_nullable
  377. as List<SyncPromoListiniDto>,
  378. promozioneOmaggio: null == promozioneOmaggio
  379. ? _value._promozioneOmaggio
  380. : promozioneOmaggio // ignore: cast_nullable_to_non_nullable
  381. as List<SyncPromoOmaggioDto>,
  382. ),
  383. );
  384. }
  385. }
  386. /// @nodoc
  387. @JsonSerializable()
  388. class _$SyncPromoDtoImpl implements _SyncPromoDto {
  389. const _$SyncPromoDtoImpl({
  390. this.progressivo,
  391. this.tipoPromozione,
  392. this.descrizione,
  393. this.dataInizio,
  394. this.dataFine,
  395. this.limiteQta,
  396. this.quantitaOmaggio,
  397. this.limiteImporto,
  398. this.stato,
  399. this.priorita,
  400. this.codice,
  401. this.articoloPromo,
  402. this.articoloOmaggio,
  403. this.listinoOmaggio,
  404. this.sconto,
  405. final List<SyncPromoArtDto> promozioneArticoli = const [],
  406. final List<SyncPromoListiniDto> promozioneListini = const [],
  407. final List<SyncPromoOmaggioDto> promozioneOmaggio = const [],
  408. }) : _promozioneArticoli = promozioneArticoli,
  409. _promozioneListini = promozioneListini,
  410. _promozioneOmaggio = promozioneOmaggio;
  411. factory _$SyncPromoDtoImpl.fromJson(Map<String, dynamic> json) =>
  412. _$$SyncPromoDtoImplFromJson(json);
  413. @override
  414. final int? progressivo;
  415. @override
  416. final int? tipoPromozione;
  417. @override
  418. final String? descrizione;
  419. @override
  420. final String? dataInizio;
  421. @override
  422. final String? dataFine;
  423. @override
  424. final double? limiteQta;
  425. @override
  426. final double? quantitaOmaggio;
  427. @override
  428. final double? limiteImporto;
  429. @override
  430. final String? stato;
  431. @override
  432. final int? priorita;
  433. @override
  434. final int? codice;
  435. @override
  436. final ItemDto? articoloPromo;
  437. @override
  438. final ItemDto? articoloOmaggio;
  439. @override
  440. final ListinoDto? listinoOmaggio;
  441. @override
  442. final ScontoDto? sconto;
  443. final List<SyncPromoArtDto> _promozioneArticoli;
  444. @override
  445. @JsonKey()
  446. List<SyncPromoArtDto> get promozioneArticoli {
  447. if (_promozioneArticoli is EqualUnmodifiableListView)
  448. return _promozioneArticoli;
  449. // ignore: implicit_dynamic_type
  450. return EqualUnmodifiableListView(_promozioneArticoli);
  451. }
  452. final List<SyncPromoListiniDto> _promozioneListini;
  453. @override
  454. @JsonKey()
  455. List<SyncPromoListiniDto> get promozioneListini {
  456. if (_promozioneListini is EqualUnmodifiableListView)
  457. return _promozioneListini;
  458. // ignore: implicit_dynamic_type
  459. return EqualUnmodifiableListView(_promozioneListini);
  460. }
  461. final List<SyncPromoOmaggioDto> _promozioneOmaggio;
  462. @override
  463. @JsonKey()
  464. List<SyncPromoOmaggioDto> get promozioneOmaggio {
  465. if (_promozioneOmaggio is EqualUnmodifiableListView)
  466. return _promozioneOmaggio;
  467. // ignore: implicit_dynamic_type
  468. return EqualUnmodifiableListView(_promozioneOmaggio);
  469. }
  470. @override
  471. String toString() {
  472. 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)';
  473. }
  474. @override
  475. bool operator ==(Object other) {
  476. return identical(this, other) ||
  477. (other.runtimeType == runtimeType &&
  478. other is _$SyncPromoDtoImpl &&
  479. (identical(other.progressivo, progressivo) ||
  480. other.progressivo == progressivo) &&
  481. (identical(other.tipoPromozione, tipoPromozione) ||
  482. other.tipoPromozione == tipoPromozione) &&
  483. (identical(other.descrizione, descrizione) ||
  484. other.descrizione == descrizione) &&
  485. (identical(other.dataInizio, dataInizio) ||
  486. other.dataInizio == dataInizio) &&
  487. (identical(other.dataFine, dataFine) ||
  488. other.dataFine == dataFine) &&
  489. (identical(other.limiteQta, limiteQta) ||
  490. other.limiteQta == limiteQta) &&
  491. (identical(other.quantitaOmaggio, quantitaOmaggio) ||
  492. other.quantitaOmaggio == quantitaOmaggio) &&
  493. (identical(other.limiteImporto, limiteImporto) ||
  494. other.limiteImporto == limiteImporto) &&
  495. (identical(other.stato, stato) || other.stato == stato) &&
  496. (identical(other.priorita, priorita) ||
  497. other.priorita == priorita) &&
  498. (identical(other.codice, codice) || other.codice == codice) &&
  499. (identical(other.articoloPromo, articoloPromo) ||
  500. other.articoloPromo == articoloPromo) &&
  501. (identical(other.articoloOmaggio, articoloOmaggio) ||
  502. other.articoloOmaggio == articoloOmaggio) &&
  503. (identical(other.listinoOmaggio, listinoOmaggio) ||
  504. other.listinoOmaggio == listinoOmaggio) &&
  505. (identical(other.sconto, sconto) || other.sconto == sconto) &&
  506. const DeepCollectionEquality().equals(
  507. other._promozioneArticoli,
  508. _promozioneArticoli,
  509. ) &&
  510. const DeepCollectionEquality().equals(
  511. other._promozioneListini,
  512. _promozioneListini,
  513. ) &&
  514. const DeepCollectionEquality().equals(
  515. other._promozioneOmaggio,
  516. _promozioneOmaggio,
  517. ));
  518. }
  519. @JsonKey(includeFromJson: false, includeToJson: false)
  520. @override
  521. int get hashCode => Object.hash(
  522. runtimeType,
  523. progressivo,
  524. tipoPromozione,
  525. descrizione,
  526. dataInizio,
  527. dataFine,
  528. limiteQta,
  529. quantitaOmaggio,
  530. limiteImporto,
  531. stato,
  532. priorita,
  533. codice,
  534. articoloPromo,
  535. articoloOmaggio,
  536. listinoOmaggio,
  537. sconto,
  538. const DeepCollectionEquality().hash(_promozioneArticoli),
  539. const DeepCollectionEquality().hash(_promozioneListini),
  540. const DeepCollectionEquality().hash(_promozioneOmaggio),
  541. );
  542. /// Create a copy of SyncPromoDto
  543. /// with the given fields replaced by the non-null parameter values.
  544. @JsonKey(includeFromJson: false, includeToJson: false)
  545. @override
  546. @pragma('vm:prefer-inline')
  547. _$$SyncPromoDtoImplCopyWith<_$SyncPromoDtoImpl> get copyWith =>
  548. __$$SyncPromoDtoImplCopyWithImpl<_$SyncPromoDtoImpl>(this, _$identity);
  549. @override
  550. Map<String, dynamic> toJson() {
  551. return _$$SyncPromoDtoImplToJson(this);
  552. }
  553. }
  554. abstract class _SyncPromoDto implements SyncPromoDto {
  555. const factory _SyncPromoDto({
  556. final int? progressivo,
  557. final int? tipoPromozione,
  558. final String? descrizione,
  559. final String? dataInizio,
  560. final String? dataFine,
  561. final double? limiteQta,
  562. final double? quantitaOmaggio,
  563. final double? limiteImporto,
  564. final String? stato,
  565. final int? priorita,
  566. final int? codice,
  567. final ItemDto? articoloPromo,
  568. final ItemDto? articoloOmaggio,
  569. final ListinoDto? listinoOmaggio,
  570. final ScontoDto? sconto,
  571. final List<SyncPromoArtDto> promozioneArticoli,
  572. final List<SyncPromoListiniDto> promozioneListini,
  573. final List<SyncPromoOmaggioDto> promozioneOmaggio,
  574. }) = _$SyncPromoDtoImpl;
  575. factory _SyncPromoDto.fromJson(Map<String, dynamic> json) =
  576. _$SyncPromoDtoImpl.fromJson;
  577. @override
  578. int? get progressivo;
  579. @override
  580. int? get tipoPromozione;
  581. @override
  582. String? get descrizione;
  583. @override
  584. String? get dataInizio;
  585. @override
  586. String? get dataFine;
  587. @override
  588. double? get limiteQta;
  589. @override
  590. double? get quantitaOmaggio;
  591. @override
  592. double? get limiteImporto;
  593. @override
  594. String? get stato;
  595. @override
  596. int? get priorita;
  597. @override
  598. int? get codice;
  599. @override
  600. ItemDto? get articoloPromo;
  601. @override
  602. ItemDto? get articoloOmaggio;
  603. @override
  604. ListinoDto? get listinoOmaggio;
  605. @override
  606. ScontoDto? get sconto;
  607. @override
  608. List<SyncPromoArtDto> get promozioneArticoli;
  609. @override
  610. List<SyncPromoListiniDto> get promozioneListini;
  611. @override
  612. List<SyncPromoOmaggioDto> get promozioneOmaggio;
  613. /// Create a copy of SyncPromoDto
  614. /// with the given fields replaced by the non-null parameter values.
  615. @override
  616. @JsonKey(includeFromJson: false, includeToJson: false)
  617. _$$SyncPromoDtoImplCopyWith<_$SyncPromoDtoImpl> get copyWith =>
  618. throw _privateConstructorUsedError;
  619. }
  620. SyncPromoArtDto _$SyncPromoArtDtoFromJson(Map<String, dynamic> json) {
  621. return _SyncPromoArtDto.fromJson(json);
  622. }
  623. /// @nodoc
  624. mixin _$SyncPromoArtDto {
  625. PromoArticoloKey? get promozioneArticoloKey =>
  626. throw _privateConstructorUsedError;
  627. ItemDto? get articolo => throw _privateConstructorUsedError;
  628. /// Serializes this SyncPromoArtDto to a JSON map.
  629. Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
  630. /// Create a copy of SyncPromoArtDto
  631. /// with the given fields replaced by the non-null parameter values.
  632. @JsonKey(includeFromJson: false, includeToJson: false)
  633. $SyncPromoArtDtoCopyWith<SyncPromoArtDto> get copyWith =>
  634. throw _privateConstructorUsedError;
  635. }
  636. /// @nodoc
  637. abstract class $SyncPromoArtDtoCopyWith<$Res> {
  638. factory $SyncPromoArtDtoCopyWith(
  639. SyncPromoArtDto value,
  640. $Res Function(SyncPromoArtDto) then,
  641. ) = _$SyncPromoArtDtoCopyWithImpl<$Res, SyncPromoArtDto>;
  642. @useResult
  643. $Res call({PromoArticoloKey? promozioneArticoloKey, ItemDto? articolo});
  644. $PromoArticoloKeyCopyWith<$Res>? get promozioneArticoloKey;
  645. $ItemDtoCopyWith<$Res>? get articolo;
  646. }
  647. /// @nodoc
  648. class _$SyncPromoArtDtoCopyWithImpl<$Res, $Val extends SyncPromoArtDto>
  649. implements $SyncPromoArtDtoCopyWith<$Res> {
  650. _$SyncPromoArtDtoCopyWithImpl(this._value, this._then);
  651. // ignore: unused_field
  652. final $Val _value;
  653. // ignore: unused_field
  654. final $Res Function($Val) _then;
  655. /// Create a copy of SyncPromoArtDto
  656. /// with the given fields replaced by the non-null parameter values.
  657. @pragma('vm:prefer-inline')
  658. @override
  659. $Res call({
  660. Object? promozioneArticoloKey = freezed,
  661. Object? articolo = freezed,
  662. }) {
  663. return _then(
  664. _value.copyWith(
  665. promozioneArticoloKey: freezed == promozioneArticoloKey
  666. ? _value.promozioneArticoloKey
  667. : promozioneArticoloKey // ignore: cast_nullable_to_non_nullable
  668. as PromoArticoloKey?,
  669. articolo: freezed == articolo
  670. ? _value.articolo
  671. : articolo // ignore: cast_nullable_to_non_nullable
  672. as ItemDto?,
  673. )
  674. as $Val,
  675. );
  676. }
  677. /// Create a copy of SyncPromoArtDto
  678. /// with the given fields replaced by the non-null parameter values.
  679. @override
  680. @pragma('vm:prefer-inline')
  681. $PromoArticoloKeyCopyWith<$Res>? get promozioneArticoloKey {
  682. if (_value.promozioneArticoloKey == null) {
  683. return null;
  684. }
  685. return $PromoArticoloKeyCopyWith<$Res>(_value.promozioneArticoloKey!, (
  686. value,
  687. ) {
  688. return _then(_value.copyWith(promozioneArticoloKey: value) as $Val);
  689. });
  690. }
  691. /// Create a copy of SyncPromoArtDto
  692. /// with the given fields replaced by the non-null parameter values.
  693. @override
  694. @pragma('vm:prefer-inline')
  695. $ItemDtoCopyWith<$Res>? get articolo {
  696. if (_value.articolo == null) {
  697. return null;
  698. }
  699. return $ItemDtoCopyWith<$Res>(_value.articolo!, (value) {
  700. return _then(_value.copyWith(articolo: value) as $Val);
  701. });
  702. }
  703. }
  704. /// @nodoc
  705. abstract class _$$SyncPromoArtDtoImplCopyWith<$Res>
  706. implements $SyncPromoArtDtoCopyWith<$Res> {
  707. factory _$$SyncPromoArtDtoImplCopyWith(
  708. _$SyncPromoArtDtoImpl value,
  709. $Res Function(_$SyncPromoArtDtoImpl) then,
  710. ) = __$$SyncPromoArtDtoImplCopyWithImpl<$Res>;
  711. @override
  712. @useResult
  713. $Res call({PromoArticoloKey? promozioneArticoloKey, ItemDto? articolo});
  714. @override
  715. $PromoArticoloKeyCopyWith<$Res>? get promozioneArticoloKey;
  716. @override
  717. $ItemDtoCopyWith<$Res>? get articolo;
  718. }
  719. /// @nodoc
  720. class __$$SyncPromoArtDtoImplCopyWithImpl<$Res>
  721. extends _$SyncPromoArtDtoCopyWithImpl<$Res, _$SyncPromoArtDtoImpl>
  722. implements _$$SyncPromoArtDtoImplCopyWith<$Res> {
  723. __$$SyncPromoArtDtoImplCopyWithImpl(
  724. _$SyncPromoArtDtoImpl _value,
  725. $Res Function(_$SyncPromoArtDtoImpl) _then,
  726. ) : super(_value, _then);
  727. /// Create a copy of SyncPromoArtDto
  728. /// with the given fields replaced by the non-null parameter values.
  729. @pragma('vm:prefer-inline')
  730. @override
  731. $Res call({
  732. Object? promozioneArticoloKey = freezed,
  733. Object? articolo = freezed,
  734. }) {
  735. return _then(
  736. _$SyncPromoArtDtoImpl(
  737. promozioneArticoloKey: freezed == promozioneArticoloKey
  738. ? _value.promozioneArticoloKey
  739. : promozioneArticoloKey // ignore: cast_nullable_to_non_nullable
  740. as PromoArticoloKey?,
  741. articolo: freezed == articolo
  742. ? _value.articolo
  743. : articolo // ignore: cast_nullable_to_non_nullable
  744. as ItemDto?,
  745. ),
  746. );
  747. }
  748. }
  749. /// @nodoc
  750. @JsonSerializable()
  751. class _$SyncPromoArtDtoImpl implements _SyncPromoArtDto {
  752. const _$SyncPromoArtDtoImpl({this.promozioneArticoloKey, this.articolo});
  753. factory _$SyncPromoArtDtoImpl.fromJson(Map<String, dynamic> json) =>
  754. _$$SyncPromoArtDtoImplFromJson(json);
  755. @override
  756. final PromoArticoloKey? promozioneArticoloKey;
  757. @override
  758. final ItemDto? articolo;
  759. @override
  760. String toString() {
  761. return 'SyncPromoArtDto(promozioneArticoloKey: $promozioneArticoloKey, articolo: $articolo)';
  762. }
  763. @override
  764. bool operator ==(Object other) {
  765. return identical(this, other) ||
  766. (other.runtimeType == runtimeType &&
  767. other is _$SyncPromoArtDtoImpl &&
  768. (identical(other.promozioneArticoloKey, promozioneArticoloKey) ||
  769. other.promozioneArticoloKey == promozioneArticoloKey) &&
  770. (identical(other.articolo, articolo) ||
  771. other.articolo == articolo));
  772. }
  773. @JsonKey(includeFromJson: false, includeToJson: false)
  774. @override
  775. int get hashCode => Object.hash(runtimeType, promozioneArticoloKey, articolo);
  776. /// Create a copy of SyncPromoArtDto
  777. /// with the given fields replaced by the non-null parameter values.
  778. @JsonKey(includeFromJson: false, includeToJson: false)
  779. @override
  780. @pragma('vm:prefer-inline')
  781. _$$SyncPromoArtDtoImplCopyWith<_$SyncPromoArtDtoImpl> get copyWith =>
  782. __$$SyncPromoArtDtoImplCopyWithImpl<_$SyncPromoArtDtoImpl>(
  783. this,
  784. _$identity,
  785. );
  786. @override
  787. Map<String, dynamic> toJson() {
  788. return _$$SyncPromoArtDtoImplToJson(this);
  789. }
  790. }
  791. abstract class _SyncPromoArtDto implements SyncPromoArtDto {
  792. const factory _SyncPromoArtDto({
  793. final PromoArticoloKey? promozioneArticoloKey,
  794. final ItemDto? articolo,
  795. }) = _$SyncPromoArtDtoImpl;
  796. factory _SyncPromoArtDto.fromJson(Map<String, dynamic> json) =
  797. _$SyncPromoArtDtoImpl.fromJson;
  798. @override
  799. PromoArticoloKey? get promozioneArticoloKey;
  800. @override
  801. ItemDto? get articolo;
  802. /// Create a copy of SyncPromoArtDto
  803. /// with the given fields replaced by the non-null parameter values.
  804. @override
  805. @JsonKey(includeFromJson: false, includeToJson: false)
  806. _$$SyncPromoArtDtoImplCopyWith<_$SyncPromoArtDtoImpl> get copyWith =>
  807. throw _privateConstructorUsedError;
  808. }
  809. SyncPromoListiniDto _$SyncPromoListiniDtoFromJson(Map<String, dynamic> json) {
  810. return _SyncPromoListiniDto.fromJson(json);
  811. }
  812. /// @nodoc
  813. mixin _$SyncPromoListiniDto {
  814. PromoListinoKey? get promozioneListinoKey =>
  815. throw _privateConstructorUsedError;
  816. /// Serializes this SyncPromoListiniDto to a JSON map.
  817. Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
  818. /// Create a copy of SyncPromoListiniDto
  819. /// with the given fields replaced by the non-null parameter values.
  820. @JsonKey(includeFromJson: false, includeToJson: false)
  821. $SyncPromoListiniDtoCopyWith<SyncPromoListiniDto> get copyWith =>
  822. throw _privateConstructorUsedError;
  823. }
  824. /// @nodoc
  825. abstract class $SyncPromoListiniDtoCopyWith<$Res> {
  826. factory $SyncPromoListiniDtoCopyWith(
  827. SyncPromoListiniDto value,
  828. $Res Function(SyncPromoListiniDto) then,
  829. ) = _$SyncPromoListiniDtoCopyWithImpl<$Res, SyncPromoListiniDto>;
  830. @useResult
  831. $Res call({PromoListinoKey? promozioneListinoKey});
  832. $PromoListinoKeyCopyWith<$Res>? get promozioneListinoKey;
  833. }
  834. /// @nodoc
  835. class _$SyncPromoListiniDtoCopyWithImpl<$Res, $Val extends SyncPromoListiniDto>
  836. implements $SyncPromoListiniDtoCopyWith<$Res> {
  837. _$SyncPromoListiniDtoCopyWithImpl(this._value, this._then);
  838. // ignore: unused_field
  839. final $Val _value;
  840. // ignore: unused_field
  841. final $Res Function($Val) _then;
  842. /// Create a copy of SyncPromoListiniDto
  843. /// with the given fields replaced by the non-null parameter values.
  844. @pragma('vm:prefer-inline')
  845. @override
  846. $Res call({Object? promozioneListinoKey = freezed}) {
  847. return _then(
  848. _value.copyWith(
  849. promozioneListinoKey: freezed == promozioneListinoKey
  850. ? _value.promozioneListinoKey
  851. : promozioneListinoKey // ignore: cast_nullable_to_non_nullable
  852. as PromoListinoKey?,
  853. )
  854. as $Val,
  855. );
  856. }
  857. /// Create a copy of SyncPromoListiniDto
  858. /// with the given fields replaced by the non-null parameter values.
  859. @override
  860. @pragma('vm:prefer-inline')
  861. $PromoListinoKeyCopyWith<$Res>? get promozioneListinoKey {
  862. if (_value.promozioneListinoKey == null) {
  863. return null;
  864. }
  865. return $PromoListinoKeyCopyWith<$Res>(_value.promozioneListinoKey!, (
  866. value,
  867. ) {
  868. return _then(_value.copyWith(promozioneListinoKey: value) as $Val);
  869. });
  870. }
  871. }
  872. /// @nodoc
  873. abstract class _$$SyncPromoListiniDtoImplCopyWith<$Res>
  874. implements $SyncPromoListiniDtoCopyWith<$Res> {
  875. factory _$$SyncPromoListiniDtoImplCopyWith(
  876. _$SyncPromoListiniDtoImpl value,
  877. $Res Function(_$SyncPromoListiniDtoImpl) then,
  878. ) = __$$SyncPromoListiniDtoImplCopyWithImpl<$Res>;
  879. @override
  880. @useResult
  881. $Res call({PromoListinoKey? promozioneListinoKey});
  882. @override
  883. $PromoListinoKeyCopyWith<$Res>? get promozioneListinoKey;
  884. }
  885. /// @nodoc
  886. class __$$SyncPromoListiniDtoImplCopyWithImpl<$Res>
  887. extends _$SyncPromoListiniDtoCopyWithImpl<$Res, _$SyncPromoListiniDtoImpl>
  888. implements _$$SyncPromoListiniDtoImplCopyWith<$Res> {
  889. __$$SyncPromoListiniDtoImplCopyWithImpl(
  890. _$SyncPromoListiniDtoImpl _value,
  891. $Res Function(_$SyncPromoListiniDtoImpl) _then,
  892. ) : super(_value, _then);
  893. /// Create a copy of SyncPromoListiniDto
  894. /// with the given fields replaced by the non-null parameter values.
  895. @pragma('vm:prefer-inline')
  896. @override
  897. $Res call({Object? promozioneListinoKey = freezed}) {
  898. return _then(
  899. _$SyncPromoListiniDtoImpl(
  900. promozioneListinoKey: freezed == promozioneListinoKey
  901. ? _value.promozioneListinoKey
  902. : promozioneListinoKey // ignore: cast_nullable_to_non_nullable
  903. as PromoListinoKey?,
  904. ),
  905. );
  906. }
  907. }
  908. /// @nodoc
  909. @JsonSerializable()
  910. class _$SyncPromoListiniDtoImpl implements _SyncPromoListiniDto {
  911. const _$SyncPromoListiniDtoImpl({this.promozioneListinoKey});
  912. factory _$SyncPromoListiniDtoImpl.fromJson(Map<String, dynamic> json) =>
  913. _$$SyncPromoListiniDtoImplFromJson(json);
  914. @override
  915. final PromoListinoKey? promozioneListinoKey;
  916. @override
  917. String toString() {
  918. return 'SyncPromoListiniDto(promozioneListinoKey: $promozioneListinoKey)';
  919. }
  920. @override
  921. bool operator ==(Object other) {
  922. return identical(this, other) ||
  923. (other.runtimeType == runtimeType &&
  924. other is _$SyncPromoListiniDtoImpl &&
  925. (identical(other.promozioneListinoKey, promozioneListinoKey) ||
  926. other.promozioneListinoKey == promozioneListinoKey));
  927. }
  928. @JsonKey(includeFromJson: false, includeToJson: false)
  929. @override
  930. int get hashCode => Object.hash(runtimeType, promozioneListinoKey);
  931. /// Create a copy of SyncPromoListiniDto
  932. /// with the given fields replaced by the non-null parameter values.
  933. @JsonKey(includeFromJson: false, includeToJson: false)
  934. @override
  935. @pragma('vm:prefer-inline')
  936. _$$SyncPromoListiniDtoImplCopyWith<_$SyncPromoListiniDtoImpl> get copyWith =>
  937. __$$SyncPromoListiniDtoImplCopyWithImpl<_$SyncPromoListiniDtoImpl>(
  938. this,
  939. _$identity,
  940. );
  941. @override
  942. Map<String, dynamic> toJson() {
  943. return _$$SyncPromoListiniDtoImplToJson(this);
  944. }
  945. }
  946. abstract class _SyncPromoListiniDto implements SyncPromoListiniDto {
  947. const factory _SyncPromoListiniDto({
  948. final PromoListinoKey? promozioneListinoKey,
  949. }) = _$SyncPromoListiniDtoImpl;
  950. factory _SyncPromoListiniDto.fromJson(Map<String, dynamic> json) =
  951. _$SyncPromoListiniDtoImpl.fromJson;
  952. @override
  953. PromoListinoKey? get promozioneListinoKey;
  954. /// Create a copy of SyncPromoListiniDto
  955. /// with the given fields replaced by the non-null parameter values.
  956. @override
  957. @JsonKey(includeFromJson: false, includeToJson: false)
  958. _$$SyncPromoListiniDtoImplCopyWith<_$SyncPromoListiniDtoImpl> get copyWith =>
  959. throw _privateConstructorUsedError;
  960. }
  961. SyncPromoOmaggioDto _$SyncPromoOmaggioDtoFromJson(Map<String, dynamic> json) {
  962. return _SyncPromoOmaggioDto.fromJson(json);
  963. }
  964. /// @nodoc
  965. mixin _$SyncPromoOmaggioDto {
  966. PromoOmaggioKey? get promozioneOmaggioKey =>
  967. throw _privateConstructorUsedError;
  968. ItemDto? get articolo => throw _privateConstructorUsedError;
  969. double? get quantita => throw _privateConstructorUsedError;
  970. /// Serializes this SyncPromoOmaggioDto to a JSON map.
  971. Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
  972. /// Create a copy of SyncPromoOmaggioDto
  973. /// with the given fields replaced by the non-null parameter values.
  974. @JsonKey(includeFromJson: false, includeToJson: false)
  975. $SyncPromoOmaggioDtoCopyWith<SyncPromoOmaggioDto> get copyWith =>
  976. throw _privateConstructorUsedError;
  977. }
  978. /// @nodoc
  979. abstract class $SyncPromoOmaggioDtoCopyWith<$Res> {
  980. factory $SyncPromoOmaggioDtoCopyWith(
  981. SyncPromoOmaggioDto value,
  982. $Res Function(SyncPromoOmaggioDto) then,
  983. ) = _$SyncPromoOmaggioDtoCopyWithImpl<$Res, SyncPromoOmaggioDto>;
  984. @useResult
  985. $Res call({
  986. PromoOmaggioKey? promozioneOmaggioKey,
  987. ItemDto? articolo,
  988. double? quantita,
  989. });
  990. $PromoOmaggioKeyCopyWith<$Res>? get promozioneOmaggioKey;
  991. $ItemDtoCopyWith<$Res>? get articolo;
  992. }
  993. /// @nodoc
  994. class _$SyncPromoOmaggioDtoCopyWithImpl<$Res, $Val extends SyncPromoOmaggioDto>
  995. implements $SyncPromoOmaggioDtoCopyWith<$Res> {
  996. _$SyncPromoOmaggioDtoCopyWithImpl(this._value, this._then);
  997. // ignore: unused_field
  998. final $Val _value;
  999. // ignore: unused_field
  1000. final $Res Function($Val) _then;
  1001. /// Create a copy of SyncPromoOmaggioDto
  1002. /// with the given fields replaced by the non-null parameter values.
  1003. @pragma('vm:prefer-inline')
  1004. @override
  1005. $Res call({
  1006. Object? promozioneOmaggioKey = freezed,
  1007. Object? articolo = freezed,
  1008. Object? quantita = freezed,
  1009. }) {
  1010. return _then(
  1011. _value.copyWith(
  1012. promozioneOmaggioKey: freezed == promozioneOmaggioKey
  1013. ? _value.promozioneOmaggioKey
  1014. : promozioneOmaggioKey // ignore: cast_nullable_to_non_nullable
  1015. as PromoOmaggioKey?,
  1016. articolo: freezed == articolo
  1017. ? _value.articolo
  1018. : articolo // ignore: cast_nullable_to_non_nullable
  1019. as ItemDto?,
  1020. quantita: freezed == quantita
  1021. ? _value.quantita
  1022. : quantita // ignore: cast_nullable_to_non_nullable
  1023. as double?,
  1024. )
  1025. as $Val,
  1026. );
  1027. }
  1028. /// Create a copy of SyncPromoOmaggioDto
  1029. /// with the given fields replaced by the non-null parameter values.
  1030. @override
  1031. @pragma('vm:prefer-inline')
  1032. $PromoOmaggioKeyCopyWith<$Res>? get promozioneOmaggioKey {
  1033. if (_value.promozioneOmaggioKey == null) {
  1034. return null;
  1035. }
  1036. return $PromoOmaggioKeyCopyWith<$Res>(_value.promozioneOmaggioKey!, (
  1037. value,
  1038. ) {
  1039. return _then(_value.copyWith(promozioneOmaggioKey: value) as $Val);
  1040. });
  1041. }
  1042. /// Create a copy of SyncPromoOmaggioDto
  1043. /// with the given fields replaced by the non-null parameter values.
  1044. @override
  1045. @pragma('vm:prefer-inline')
  1046. $ItemDtoCopyWith<$Res>? get articolo {
  1047. if (_value.articolo == null) {
  1048. return null;
  1049. }
  1050. return $ItemDtoCopyWith<$Res>(_value.articolo!, (value) {
  1051. return _then(_value.copyWith(articolo: value) as $Val);
  1052. });
  1053. }
  1054. }
  1055. /// @nodoc
  1056. abstract class _$$SyncPromoOmaggioDtoImplCopyWith<$Res>
  1057. implements $SyncPromoOmaggioDtoCopyWith<$Res> {
  1058. factory _$$SyncPromoOmaggioDtoImplCopyWith(
  1059. _$SyncPromoOmaggioDtoImpl value,
  1060. $Res Function(_$SyncPromoOmaggioDtoImpl) then,
  1061. ) = __$$SyncPromoOmaggioDtoImplCopyWithImpl<$Res>;
  1062. @override
  1063. @useResult
  1064. $Res call({
  1065. PromoOmaggioKey? promozioneOmaggioKey,
  1066. ItemDto? articolo,
  1067. double? quantita,
  1068. });
  1069. @override
  1070. $PromoOmaggioKeyCopyWith<$Res>? get promozioneOmaggioKey;
  1071. @override
  1072. $ItemDtoCopyWith<$Res>? get articolo;
  1073. }
  1074. /// @nodoc
  1075. class __$$SyncPromoOmaggioDtoImplCopyWithImpl<$Res>
  1076. extends _$SyncPromoOmaggioDtoCopyWithImpl<$Res, _$SyncPromoOmaggioDtoImpl>
  1077. implements _$$SyncPromoOmaggioDtoImplCopyWith<$Res> {
  1078. __$$SyncPromoOmaggioDtoImplCopyWithImpl(
  1079. _$SyncPromoOmaggioDtoImpl _value,
  1080. $Res Function(_$SyncPromoOmaggioDtoImpl) _then,
  1081. ) : super(_value, _then);
  1082. /// Create a copy of SyncPromoOmaggioDto
  1083. /// with the given fields replaced by the non-null parameter values.
  1084. @pragma('vm:prefer-inline')
  1085. @override
  1086. $Res call({
  1087. Object? promozioneOmaggioKey = freezed,
  1088. Object? articolo = freezed,
  1089. Object? quantita = freezed,
  1090. }) {
  1091. return _then(
  1092. _$SyncPromoOmaggioDtoImpl(
  1093. promozioneOmaggioKey: freezed == promozioneOmaggioKey
  1094. ? _value.promozioneOmaggioKey
  1095. : promozioneOmaggioKey // ignore: cast_nullable_to_non_nullable
  1096. as PromoOmaggioKey?,
  1097. articolo: freezed == articolo
  1098. ? _value.articolo
  1099. : articolo // ignore: cast_nullable_to_non_nullable
  1100. as ItemDto?,
  1101. quantita: freezed == quantita
  1102. ? _value.quantita
  1103. : quantita // ignore: cast_nullable_to_non_nullable
  1104. as double?,
  1105. ),
  1106. );
  1107. }
  1108. }
  1109. /// @nodoc
  1110. @JsonSerializable()
  1111. class _$SyncPromoOmaggioDtoImpl implements _SyncPromoOmaggioDto {
  1112. const _$SyncPromoOmaggioDtoImpl({
  1113. this.promozioneOmaggioKey,
  1114. this.articolo,
  1115. this.quantita,
  1116. });
  1117. factory _$SyncPromoOmaggioDtoImpl.fromJson(Map<String, dynamic> json) =>
  1118. _$$SyncPromoOmaggioDtoImplFromJson(json);
  1119. @override
  1120. final PromoOmaggioKey? promozioneOmaggioKey;
  1121. @override
  1122. final ItemDto? articolo;
  1123. @override
  1124. final double? quantita;
  1125. @override
  1126. String toString() {
  1127. return 'SyncPromoOmaggioDto(promozioneOmaggioKey: $promozioneOmaggioKey, articolo: $articolo, quantita: $quantita)';
  1128. }
  1129. @override
  1130. bool operator ==(Object other) {
  1131. return identical(this, other) ||
  1132. (other.runtimeType == runtimeType &&
  1133. other is _$SyncPromoOmaggioDtoImpl &&
  1134. (identical(other.promozioneOmaggioKey, promozioneOmaggioKey) ||
  1135. other.promozioneOmaggioKey == promozioneOmaggioKey) &&
  1136. (identical(other.articolo, articolo) ||
  1137. other.articolo == articolo) &&
  1138. (identical(other.quantita, quantita) ||
  1139. other.quantita == quantita));
  1140. }
  1141. @JsonKey(includeFromJson: false, includeToJson: false)
  1142. @override
  1143. int get hashCode =>
  1144. Object.hash(runtimeType, promozioneOmaggioKey, articolo, quantita);
  1145. /// Create a copy of SyncPromoOmaggioDto
  1146. /// with the given fields replaced by the non-null parameter values.
  1147. @JsonKey(includeFromJson: false, includeToJson: false)
  1148. @override
  1149. @pragma('vm:prefer-inline')
  1150. _$$SyncPromoOmaggioDtoImplCopyWith<_$SyncPromoOmaggioDtoImpl> get copyWith =>
  1151. __$$SyncPromoOmaggioDtoImplCopyWithImpl<_$SyncPromoOmaggioDtoImpl>(
  1152. this,
  1153. _$identity,
  1154. );
  1155. @override
  1156. Map<String, dynamic> toJson() {
  1157. return _$$SyncPromoOmaggioDtoImplToJson(this);
  1158. }
  1159. }
  1160. abstract class _SyncPromoOmaggioDto implements SyncPromoOmaggioDto {
  1161. const factory _SyncPromoOmaggioDto({
  1162. final PromoOmaggioKey? promozioneOmaggioKey,
  1163. final ItemDto? articolo,
  1164. final double? quantita,
  1165. }) = _$SyncPromoOmaggioDtoImpl;
  1166. factory _SyncPromoOmaggioDto.fromJson(Map<String, dynamic> json) =
  1167. _$SyncPromoOmaggioDtoImpl.fromJson;
  1168. @override
  1169. PromoOmaggioKey? get promozioneOmaggioKey;
  1170. @override
  1171. ItemDto? get articolo;
  1172. @override
  1173. double? get quantita;
  1174. /// Create a copy of SyncPromoOmaggioDto
  1175. /// with the given fields replaced by the non-null parameter values.
  1176. @override
  1177. @JsonKey(includeFromJson: false, includeToJson: false)
  1178. _$$SyncPromoOmaggioDtoImplCopyWith<_$SyncPromoOmaggioDtoImpl> get copyWith =>
  1179. throw _privateConstructorUsedError;
  1180. }
  1181. PromoArticoloKey _$PromoArticoloKeyFromJson(Map<String, dynamic> json) {
  1182. return _PromoArticoloKey.fromJson(json);
  1183. }
  1184. /// @nodoc
  1185. mixin _$PromoArticoloKey {
  1186. int? get progressivo => throw _privateConstructorUsedError;
  1187. int? get riga => throw _privateConstructorUsedError;
  1188. /// Serializes this PromoArticoloKey to a JSON map.
  1189. Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
  1190. /// Create a copy of PromoArticoloKey
  1191. /// with the given fields replaced by the non-null parameter values.
  1192. @JsonKey(includeFromJson: false, includeToJson: false)
  1193. $PromoArticoloKeyCopyWith<PromoArticoloKey> get copyWith =>
  1194. throw _privateConstructorUsedError;
  1195. }
  1196. /// @nodoc
  1197. abstract class $PromoArticoloKeyCopyWith<$Res> {
  1198. factory $PromoArticoloKeyCopyWith(
  1199. PromoArticoloKey value,
  1200. $Res Function(PromoArticoloKey) then,
  1201. ) = _$PromoArticoloKeyCopyWithImpl<$Res, PromoArticoloKey>;
  1202. @useResult
  1203. $Res call({int? progressivo, int? riga});
  1204. }
  1205. /// @nodoc
  1206. class _$PromoArticoloKeyCopyWithImpl<$Res, $Val extends PromoArticoloKey>
  1207. implements $PromoArticoloKeyCopyWith<$Res> {
  1208. _$PromoArticoloKeyCopyWithImpl(this._value, this._then);
  1209. // ignore: unused_field
  1210. final $Val _value;
  1211. // ignore: unused_field
  1212. final $Res Function($Val) _then;
  1213. /// Create a copy of PromoArticoloKey
  1214. /// with the given fields replaced by the non-null parameter values.
  1215. @pragma('vm:prefer-inline')
  1216. @override
  1217. $Res call({Object? progressivo = freezed, Object? riga = freezed}) {
  1218. return _then(
  1219. _value.copyWith(
  1220. progressivo: freezed == progressivo
  1221. ? _value.progressivo
  1222. : progressivo // ignore: cast_nullable_to_non_nullable
  1223. as int?,
  1224. riga: freezed == riga
  1225. ? _value.riga
  1226. : riga // ignore: cast_nullable_to_non_nullable
  1227. as int?,
  1228. )
  1229. as $Val,
  1230. );
  1231. }
  1232. }
  1233. /// @nodoc
  1234. abstract class _$$PromoArticoloKeyImplCopyWith<$Res>
  1235. implements $PromoArticoloKeyCopyWith<$Res> {
  1236. factory _$$PromoArticoloKeyImplCopyWith(
  1237. _$PromoArticoloKeyImpl value,
  1238. $Res Function(_$PromoArticoloKeyImpl) then,
  1239. ) = __$$PromoArticoloKeyImplCopyWithImpl<$Res>;
  1240. @override
  1241. @useResult
  1242. $Res call({int? progressivo, int? riga});
  1243. }
  1244. /// @nodoc
  1245. class __$$PromoArticoloKeyImplCopyWithImpl<$Res>
  1246. extends _$PromoArticoloKeyCopyWithImpl<$Res, _$PromoArticoloKeyImpl>
  1247. implements _$$PromoArticoloKeyImplCopyWith<$Res> {
  1248. __$$PromoArticoloKeyImplCopyWithImpl(
  1249. _$PromoArticoloKeyImpl _value,
  1250. $Res Function(_$PromoArticoloKeyImpl) _then,
  1251. ) : super(_value, _then);
  1252. /// Create a copy of PromoArticoloKey
  1253. /// with the given fields replaced by the non-null parameter values.
  1254. @pragma('vm:prefer-inline')
  1255. @override
  1256. $Res call({Object? progressivo = freezed, Object? riga = freezed}) {
  1257. return _then(
  1258. _$PromoArticoloKeyImpl(
  1259. progressivo: freezed == progressivo
  1260. ? _value.progressivo
  1261. : progressivo // ignore: cast_nullable_to_non_nullable
  1262. as int?,
  1263. riga: freezed == riga
  1264. ? _value.riga
  1265. : riga // ignore: cast_nullable_to_non_nullable
  1266. as int?,
  1267. ),
  1268. );
  1269. }
  1270. }
  1271. /// @nodoc
  1272. @JsonSerializable()
  1273. class _$PromoArticoloKeyImpl implements _PromoArticoloKey {
  1274. const _$PromoArticoloKeyImpl({this.progressivo, this.riga});
  1275. factory _$PromoArticoloKeyImpl.fromJson(Map<String, dynamic> json) =>
  1276. _$$PromoArticoloKeyImplFromJson(json);
  1277. @override
  1278. final int? progressivo;
  1279. @override
  1280. final int? riga;
  1281. @override
  1282. String toString() {
  1283. return 'PromoArticoloKey(progressivo: $progressivo, riga: $riga)';
  1284. }
  1285. @override
  1286. bool operator ==(Object other) {
  1287. return identical(this, other) ||
  1288. (other.runtimeType == runtimeType &&
  1289. other is _$PromoArticoloKeyImpl &&
  1290. (identical(other.progressivo, progressivo) ||
  1291. other.progressivo == progressivo) &&
  1292. (identical(other.riga, riga) || other.riga == riga));
  1293. }
  1294. @JsonKey(includeFromJson: false, includeToJson: false)
  1295. @override
  1296. int get hashCode => Object.hash(runtimeType, progressivo, riga);
  1297. /// Create a copy of PromoArticoloKey
  1298. /// with the given fields replaced by the non-null parameter values.
  1299. @JsonKey(includeFromJson: false, includeToJson: false)
  1300. @override
  1301. @pragma('vm:prefer-inline')
  1302. _$$PromoArticoloKeyImplCopyWith<_$PromoArticoloKeyImpl> get copyWith =>
  1303. __$$PromoArticoloKeyImplCopyWithImpl<_$PromoArticoloKeyImpl>(
  1304. this,
  1305. _$identity,
  1306. );
  1307. @override
  1308. Map<String, dynamic> toJson() {
  1309. return _$$PromoArticoloKeyImplToJson(this);
  1310. }
  1311. }
  1312. abstract class _PromoArticoloKey implements PromoArticoloKey {
  1313. const factory _PromoArticoloKey({final int? progressivo, final int? riga}) =
  1314. _$PromoArticoloKeyImpl;
  1315. factory _PromoArticoloKey.fromJson(Map<String, dynamic> json) =
  1316. _$PromoArticoloKeyImpl.fromJson;
  1317. @override
  1318. int? get progressivo;
  1319. @override
  1320. int? get riga;
  1321. /// Create a copy of PromoArticoloKey
  1322. /// with the given fields replaced by the non-null parameter values.
  1323. @override
  1324. @JsonKey(includeFromJson: false, includeToJson: false)
  1325. _$$PromoArticoloKeyImplCopyWith<_$PromoArticoloKeyImpl> get copyWith =>
  1326. throw _privateConstructorUsedError;
  1327. }
  1328. PromoListinoKey _$PromoListinoKeyFromJson(Map<String, dynamic> json) {
  1329. return _PromoListinoKey.fromJson(json);
  1330. }
  1331. /// @nodoc
  1332. mixin _$PromoListinoKey {
  1333. int? get progressivo => throw _privateConstructorUsedError;
  1334. int? get idListino => throw _privateConstructorUsedError;
  1335. /// Serializes this PromoListinoKey to a JSON map.
  1336. Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
  1337. /// Create a copy of PromoListinoKey
  1338. /// with the given fields replaced by the non-null parameter values.
  1339. @JsonKey(includeFromJson: false, includeToJson: false)
  1340. $PromoListinoKeyCopyWith<PromoListinoKey> get copyWith =>
  1341. throw _privateConstructorUsedError;
  1342. }
  1343. /// @nodoc
  1344. abstract class $PromoListinoKeyCopyWith<$Res> {
  1345. factory $PromoListinoKeyCopyWith(
  1346. PromoListinoKey value,
  1347. $Res Function(PromoListinoKey) then,
  1348. ) = _$PromoListinoKeyCopyWithImpl<$Res, PromoListinoKey>;
  1349. @useResult
  1350. $Res call({int? progressivo, int? idListino});
  1351. }
  1352. /// @nodoc
  1353. class _$PromoListinoKeyCopyWithImpl<$Res, $Val extends PromoListinoKey>
  1354. implements $PromoListinoKeyCopyWith<$Res> {
  1355. _$PromoListinoKeyCopyWithImpl(this._value, this._then);
  1356. // ignore: unused_field
  1357. final $Val _value;
  1358. // ignore: unused_field
  1359. final $Res Function($Val) _then;
  1360. /// Create a copy of PromoListinoKey
  1361. /// with the given fields replaced by the non-null parameter values.
  1362. @pragma('vm:prefer-inline')
  1363. @override
  1364. $Res call({Object? progressivo = freezed, Object? idListino = freezed}) {
  1365. return _then(
  1366. _value.copyWith(
  1367. progressivo: freezed == progressivo
  1368. ? _value.progressivo
  1369. : progressivo // ignore: cast_nullable_to_non_nullable
  1370. as int?,
  1371. idListino: freezed == idListino
  1372. ? _value.idListino
  1373. : idListino // ignore: cast_nullable_to_non_nullable
  1374. as int?,
  1375. )
  1376. as $Val,
  1377. );
  1378. }
  1379. }
  1380. /// @nodoc
  1381. abstract class _$$PromoListinoKeyImplCopyWith<$Res>
  1382. implements $PromoListinoKeyCopyWith<$Res> {
  1383. factory _$$PromoListinoKeyImplCopyWith(
  1384. _$PromoListinoKeyImpl value,
  1385. $Res Function(_$PromoListinoKeyImpl) then,
  1386. ) = __$$PromoListinoKeyImplCopyWithImpl<$Res>;
  1387. @override
  1388. @useResult
  1389. $Res call({int? progressivo, int? idListino});
  1390. }
  1391. /// @nodoc
  1392. class __$$PromoListinoKeyImplCopyWithImpl<$Res>
  1393. extends _$PromoListinoKeyCopyWithImpl<$Res, _$PromoListinoKeyImpl>
  1394. implements _$$PromoListinoKeyImplCopyWith<$Res> {
  1395. __$$PromoListinoKeyImplCopyWithImpl(
  1396. _$PromoListinoKeyImpl _value,
  1397. $Res Function(_$PromoListinoKeyImpl) _then,
  1398. ) : super(_value, _then);
  1399. /// Create a copy of PromoListinoKey
  1400. /// with the given fields replaced by the non-null parameter values.
  1401. @pragma('vm:prefer-inline')
  1402. @override
  1403. $Res call({Object? progressivo = freezed, Object? idListino = freezed}) {
  1404. return _then(
  1405. _$PromoListinoKeyImpl(
  1406. progressivo: freezed == progressivo
  1407. ? _value.progressivo
  1408. : progressivo // ignore: cast_nullable_to_non_nullable
  1409. as int?,
  1410. idListino: freezed == idListino
  1411. ? _value.idListino
  1412. : idListino // ignore: cast_nullable_to_non_nullable
  1413. as int?,
  1414. ),
  1415. );
  1416. }
  1417. }
  1418. /// @nodoc
  1419. @JsonSerializable()
  1420. class _$PromoListinoKeyImpl implements _PromoListinoKey {
  1421. const _$PromoListinoKeyImpl({this.progressivo, this.idListino});
  1422. factory _$PromoListinoKeyImpl.fromJson(Map<String, dynamic> json) =>
  1423. _$$PromoListinoKeyImplFromJson(json);
  1424. @override
  1425. final int? progressivo;
  1426. @override
  1427. final int? idListino;
  1428. @override
  1429. String toString() {
  1430. return 'PromoListinoKey(progressivo: $progressivo, idListino: $idListino)';
  1431. }
  1432. @override
  1433. bool operator ==(Object other) {
  1434. return identical(this, other) ||
  1435. (other.runtimeType == runtimeType &&
  1436. other is _$PromoListinoKeyImpl &&
  1437. (identical(other.progressivo, progressivo) ||
  1438. other.progressivo == progressivo) &&
  1439. (identical(other.idListino, idListino) ||
  1440. other.idListino == idListino));
  1441. }
  1442. @JsonKey(includeFromJson: false, includeToJson: false)
  1443. @override
  1444. int get hashCode => Object.hash(runtimeType, progressivo, idListino);
  1445. /// Create a copy of PromoListinoKey
  1446. /// with the given fields replaced by the non-null parameter values.
  1447. @JsonKey(includeFromJson: false, includeToJson: false)
  1448. @override
  1449. @pragma('vm:prefer-inline')
  1450. _$$PromoListinoKeyImplCopyWith<_$PromoListinoKeyImpl> get copyWith =>
  1451. __$$PromoListinoKeyImplCopyWithImpl<_$PromoListinoKeyImpl>(
  1452. this,
  1453. _$identity,
  1454. );
  1455. @override
  1456. Map<String, dynamic> toJson() {
  1457. return _$$PromoListinoKeyImplToJson(this);
  1458. }
  1459. }
  1460. abstract class _PromoListinoKey implements PromoListinoKey {
  1461. const factory _PromoListinoKey({
  1462. final int? progressivo,
  1463. final int? idListino,
  1464. }) = _$PromoListinoKeyImpl;
  1465. factory _PromoListinoKey.fromJson(Map<String, dynamic> json) =
  1466. _$PromoListinoKeyImpl.fromJson;
  1467. @override
  1468. int? get progressivo;
  1469. @override
  1470. int? get idListino;
  1471. /// Create a copy of PromoListinoKey
  1472. /// with the given fields replaced by the non-null parameter values.
  1473. @override
  1474. @JsonKey(includeFromJson: false, includeToJson: false)
  1475. _$$PromoListinoKeyImplCopyWith<_$PromoListinoKeyImpl> get copyWith =>
  1476. throw _privateConstructorUsedError;
  1477. }
  1478. PromoOmaggioKey _$PromoOmaggioKeyFromJson(Map<String, dynamic> json) {
  1479. return _PromoOmaggioKey.fromJson(json);
  1480. }
  1481. /// @nodoc
  1482. mixin _$PromoOmaggioKey {
  1483. int? get progressivo => throw _privateConstructorUsedError;
  1484. int? get riga => throw _privateConstructorUsedError;
  1485. /// Serializes this PromoOmaggioKey to a JSON map.
  1486. Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
  1487. /// Create a copy of PromoOmaggioKey
  1488. /// with the given fields replaced by the non-null parameter values.
  1489. @JsonKey(includeFromJson: false, includeToJson: false)
  1490. $PromoOmaggioKeyCopyWith<PromoOmaggioKey> get copyWith =>
  1491. throw _privateConstructorUsedError;
  1492. }
  1493. /// @nodoc
  1494. abstract class $PromoOmaggioKeyCopyWith<$Res> {
  1495. factory $PromoOmaggioKeyCopyWith(
  1496. PromoOmaggioKey value,
  1497. $Res Function(PromoOmaggioKey) then,
  1498. ) = _$PromoOmaggioKeyCopyWithImpl<$Res, PromoOmaggioKey>;
  1499. @useResult
  1500. $Res call({int? progressivo, int? riga});
  1501. }
  1502. /// @nodoc
  1503. class _$PromoOmaggioKeyCopyWithImpl<$Res, $Val extends PromoOmaggioKey>
  1504. implements $PromoOmaggioKeyCopyWith<$Res> {
  1505. _$PromoOmaggioKeyCopyWithImpl(this._value, this._then);
  1506. // ignore: unused_field
  1507. final $Val _value;
  1508. // ignore: unused_field
  1509. final $Res Function($Val) _then;
  1510. /// Create a copy of PromoOmaggioKey
  1511. /// with the given fields replaced by the non-null parameter values.
  1512. @pragma('vm:prefer-inline')
  1513. @override
  1514. $Res call({Object? progressivo = freezed, Object? riga = freezed}) {
  1515. return _then(
  1516. _value.copyWith(
  1517. progressivo: freezed == progressivo
  1518. ? _value.progressivo
  1519. : progressivo // ignore: cast_nullable_to_non_nullable
  1520. as int?,
  1521. riga: freezed == riga
  1522. ? _value.riga
  1523. : riga // ignore: cast_nullable_to_non_nullable
  1524. as int?,
  1525. )
  1526. as $Val,
  1527. );
  1528. }
  1529. }
  1530. /// @nodoc
  1531. abstract class _$$PromoOmaggioKeyImplCopyWith<$Res>
  1532. implements $PromoOmaggioKeyCopyWith<$Res> {
  1533. factory _$$PromoOmaggioKeyImplCopyWith(
  1534. _$PromoOmaggioKeyImpl value,
  1535. $Res Function(_$PromoOmaggioKeyImpl) then,
  1536. ) = __$$PromoOmaggioKeyImplCopyWithImpl<$Res>;
  1537. @override
  1538. @useResult
  1539. $Res call({int? progressivo, int? riga});
  1540. }
  1541. /// @nodoc
  1542. class __$$PromoOmaggioKeyImplCopyWithImpl<$Res>
  1543. extends _$PromoOmaggioKeyCopyWithImpl<$Res, _$PromoOmaggioKeyImpl>
  1544. implements _$$PromoOmaggioKeyImplCopyWith<$Res> {
  1545. __$$PromoOmaggioKeyImplCopyWithImpl(
  1546. _$PromoOmaggioKeyImpl _value,
  1547. $Res Function(_$PromoOmaggioKeyImpl) _then,
  1548. ) : super(_value, _then);
  1549. /// Create a copy of PromoOmaggioKey
  1550. /// with the given fields replaced by the non-null parameter values.
  1551. @pragma('vm:prefer-inline')
  1552. @override
  1553. $Res call({Object? progressivo = freezed, Object? riga = freezed}) {
  1554. return _then(
  1555. _$PromoOmaggioKeyImpl(
  1556. progressivo: freezed == progressivo
  1557. ? _value.progressivo
  1558. : progressivo // ignore: cast_nullable_to_non_nullable
  1559. as int?,
  1560. riga: freezed == riga
  1561. ? _value.riga
  1562. : riga // ignore: cast_nullable_to_non_nullable
  1563. as int?,
  1564. ),
  1565. );
  1566. }
  1567. }
  1568. /// @nodoc
  1569. @JsonSerializable()
  1570. class _$PromoOmaggioKeyImpl implements _PromoOmaggioKey {
  1571. const _$PromoOmaggioKeyImpl({this.progressivo, this.riga});
  1572. factory _$PromoOmaggioKeyImpl.fromJson(Map<String, dynamic> json) =>
  1573. _$$PromoOmaggioKeyImplFromJson(json);
  1574. @override
  1575. final int? progressivo;
  1576. @override
  1577. final int? riga;
  1578. @override
  1579. String toString() {
  1580. return 'PromoOmaggioKey(progressivo: $progressivo, riga: $riga)';
  1581. }
  1582. @override
  1583. bool operator ==(Object other) {
  1584. return identical(this, other) ||
  1585. (other.runtimeType == runtimeType &&
  1586. other is _$PromoOmaggioKeyImpl &&
  1587. (identical(other.progressivo, progressivo) ||
  1588. other.progressivo == progressivo) &&
  1589. (identical(other.riga, riga) || other.riga == riga));
  1590. }
  1591. @JsonKey(includeFromJson: false, includeToJson: false)
  1592. @override
  1593. int get hashCode => Object.hash(runtimeType, progressivo, riga);
  1594. /// Create a copy of PromoOmaggioKey
  1595. /// with the given fields replaced by the non-null parameter values.
  1596. @JsonKey(includeFromJson: false, includeToJson: false)
  1597. @override
  1598. @pragma('vm:prefer-inline')
  1599. _$$PromoOmaggioKeyImplCopyWith<_$PromoOmaggioKeyImpl> get copyWith =>
  1600. __$$PromoOmaggioKeyImplCopyWithImpl<_$PromoOmaggioKeyImpl>(
  1601. this,
  1602. _$identity,
  1603. );
  1604. @override
  1605. Map<String, dynamic> toJson() {
  1606. return _$$PromoOmaggioKeyImplToJson(this);
  1607. }
  1608. }
  1609. abstract class _PromoOmaggioKey implements PromoOmaggioKey {
  1610. const factory _PromoOmaggioKey({final int? progressivo, final int? riga}) =
  1611. _$PromoOmaggioKeyImpl;
  1612. factory _PromoOmaggioKey.fromJson(Map<String, dynamic> json) =
  1613. _$PromoOmaggioKeyImpl.fromJson;
  1614. @override
  1615. int? get progressivo;
  1616. @override
  1617. int? get riga;
  1618. /// Create a copy of PromoOmaggioKey
  1619. /// with the given fields replaced by the non-null parameter values.
  1620. @override
  1621. @JsonKey(includeFromJson: false, includeToJson: false)
  1622. _$$PromoOmaggioKeyImplCopyWith<_$PromoOmaggioKeyImpl> get copyWith =>
  1623. throw _privateConstructorUsedError;
  1624. }
  1625. ItemDto _$ItemDtoFromJson(Map<String, dynamic> json) {
  1626. return _ItemDto.fromJson(json);
  1627. }
  1628. /// @nodoc
  1629. mixin _$ItemDto {
  1630. int? get idArticolo => throw _privateConstructorUsedError;
  1631. String? get codArticolo => throw _privateConstructorUsedError;
  1632. String? get descrizione => throw _privateConstructorUsedError;
  1633. double? get prezzo => throw _privateConstructorUsedError;
  1634. String? get unitaMisura => throw _privateConstructorUsedError;
  1635. String? get fileFoto => throw _privateConstructorUsedError;
  1636. /// Serializes this ItemDto to a JSON map.
  1637. Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
  1638. /// Create a copy of ItemDto
  1639. /// with the given fields replaced by the non-null parameter values.
  1640. @JsonKey(includeFromJson: false, includeToJson: false)
  1641. $ItemDtoCopyWith<ItemDto> get copyWith => throw _privateConstructorUsedError;
  1642. }
  1643. /// @nodoc
  1644. abstract class $ItemDtoCopyWith<$Res> {
  1645. factory $ItemDtoCopyWith(ItemDto value, $Res Function(ItemDto) then) =
  1646. _$ItemDtoCopyWithImpl<$Res, ItemDto>;
  1647. @useResult
  1648. $Res call({
  1649. int? idArticolo,
  1650. String? codArticolo,
  1651. String? descrizione,
  1652. double? prezzo,
  1653. String? unitaMisura,
  1654. String? fileFoto,
  1655. });
  1656. }
  1657. /// @nodoc
  1658. class _$ItemDtoCopyWithImpl<$Res, $Val extends ItemDto>
  1659. implements $ItemDtoCopyWith<$Res> {
  1660. _$ItemDtoCopyWithImpl(this._value, this._then);
  1661. // ignore: unused_field
  1662. final $Val _value;
  1663. // ignore: unused_field
  1664. final $Res Function($Val) _then;
  1665. /// Create a copy of ItemDto
  1666. /// with the given fields replaced by the non-null parameter values.
  1667. @pragma('vm:prefer-inline')
  1668. @override
  1669. $Res call({
  1670. Object? idArticolo = freezed,
  1671. Object? codArticolo = freezed,
  1672. Object? descrizione = freezed,
  1673. Object? prezzo = freezed,
  1674. Object? unitaMisura = freezed,
  1675. Object? fileFoto = freezed,
  1676. }) {
  1677. return _then(
  1678. _value.copyWith(
  1679. idArticolo: freezed == idArticolo
  1680. ? _value.idArticolo
  1681. : idArticolo // ignore: cast_nullable_to_non_nullable
  1682. as int?,
  1683. codArticolo: freezed == codArticolo
  1684. ? _value.codArticolo
  1685. : codArticolo // ignore: cast_nullable_to_non_nullable
  1686. as String?,
  1687. descrizione: freezed == descrizione
  1688. ? _value.descrizione
  1689. : descrizione // ignore: cast_nullable_to_non_nullable
  1690. as String?,
  1691. prezzo: freezed == prezzo
  1692. ? _value.prezzo
  1693. : prezzo // ignore: cast_nullable_to_non_nullable
  1694. as double?,
  1695. unitaMisura: freezed == unitaMisura
  1696. ? _value.unitaMisura
  1697. : unitaMisura // ignore: cast_nullable_to_non_nullable
  1698. as String?,
  1699. fileFoto: freezed == fileFoto
  1700. ? _value.fileFoto
  1701. : fileFoto // ignore: cast_nullable_to_non_nullable
  1702. as String?,
  1703. )
  1704. as $Val,
  1705. );
  1706. }
  1707. }
  1708. /// @nodoc
  1709. abstract class _$$ItemDtoImplCopyWith<$Res> implements $ItemDtoCopyWith<$Res> {
  1710. factory _$$ItemDtoImplCopyWith(
  1711. _$ItemDtoImpl value,
  1712. $Res Function(_$ItemDtoImpl) then,
  1713. ) = __$$ItemDtoImplCopyWithImpl<$Res>;
  1714. @override
  1715. @useResult
  1716. $Res call({
  1717. int? idArticolo,
  1718. String? codArticolo,
  1719. String? descrizione,
  1720. double? prezzo,
  1721. String? unitaMisura,
  1722. String? fileFoto,
  1723. });
  1724. }
  1725. /// @nodoc
  1726. class __$$ItemDtoImplCopyWithImpl<$Res>
  1727. extends _$ItemDtoCopyWithImpl<$Res, _$ItemDtoImpl>
  1728. implements _$$ItemDtoImplCopyWith<$Res> {
  1729. __$$ItemDtoImplCopyWithImpl(
  1730. _$ItemDtoImpl _value,
  1731. $Res Function(_$ItemDtoImpl) _then,
  1732. ) : super(_value, _then);
  1733. /// Create a copy of ItemDto
  1734. /// with the given fields replaced by the non-null parameter values.
  1735. @pragma('vm:prefer-inline')
  1736. @override
  1737. $Res call({
  1738. Object? idArticolo = freezed,
  1739. Object? codArticolo = freezed,
  1740. Object? descrizione = freezed,
  1741. Object? prezzo = freezed,
  1742. Object? unitaMisura = freezed,
  1743. Object? fileFoto = freezed,
  1744. }) {
  1745. return _then(
  1746. _$ItemDtoImpl(
  1747. idArticolo: freezed == idArticolo
  1748. ? _value.idArticolo
  1749. : idArticolo // ignore: cast_nullable_to_non_nullable
  1750. as int?,
  1751. codArticolo: freezed == codArticolo
  1752. ? _value.codArticolo
  1753. : codArticolo // ignore: cast_nullable_to_non_nullable
  1754. as String?,
  1755. descrizione: freezed == descrizione
  1756. ? _value.descrizione
  1757. : descrizione // ignore: cast_nullable_to_non_nullable
  1758. as String?,
  1759. prezzo: freezed == prezzo
  1760. ? _value.prezzo
  1761. : prezzo // ignore: cast_nullable_to_non_nullable
  1762. as double?,
  1763. unitaMisura: freezed == unitaMisura
  1764. ? _value.unitaMisura
  1765. : unitaMisura // ignore: cast_nullable_to_non_nullable
  1766. as String?,
  1767. fileFoto: freezed == fileFoto
  1768. ? _value.fileFoto
  1769. : fileFoto // ignore: cast_nullable_to_non_nullable
  1770. as String?,
  1771. ),
  1772. );
  1773. }
  1774. }
  1775. /// @nodoc
  1776. @JsonSerializable()
  1777. class _$ItemDtoImpl implements _ItemDto {
  1778. const _$ItemDtoImpl({
  1779. this.idArticolo,
  1780. this.codArticolo,
  1781. this.descrizione,
  1782. this.prezzo,
  1783. this.unitaMisura,
  1784. this.fileFoto,
  1785. });
  1786. factory _$ItemDtoImpl.fromJson(Map<String, dynamic> json) =>
  1787. _$$ItemDtoImplFromJson(json);
  1788. @override
  1789. final int? idArticolo;
  1790. @override
  1791. final String? codArticolo;
  1792. @override
  1793. final String? descrizione;
  1794. @override
  1795. final double? prezzo;
  1796. @override
  1797. final String? unitaMisura;
  1798. @override
  1799. final String? fileFoto;
  1800. @override
  1801. String toString() {
  1802. return 'ItemDto(idArticolo: $idArticolo, codArticolo: $codArticolo, descrizione: $descrizione, prezzo: $prezzo, unitaMisura: $unitaMisura, fileFoto: $fileFoto)';
  1803. }
  1804. @override
  1805. bool operator ==(Object other) {
  1806. return identical(this, other) ||
  1807. (other.runtimeType == runtimeType &&
  1808. other is _$ItemDtoImpl &&
  1809. (identical(other.idArticolo, idArticolo) ||
  1810. other.idArticolo == idArticolo) &&
  1811. (identical(other.codArticolo, codArticolo) ||
  1812. other.codArticolo == codArticolo) &&
  1813. (identical(other.descrizione, descrizione) ||
  1814. other.descrizione == descrizione) &&
  1815. (identical(other.prezzo, prezzo) || other.prezzo == prezzo) &&
  1816. (identical(other.unitaMisura, unitaMisura) ||
  1817. other.unitaMisura == unitaMisura) &&
  1818. (identical(other.fileFoto, fileFoto) ||
  1819. other.fileFoto == fileFoto));
  1820. }
  1821. @JsonKey(includeFromJson: false, includeToJson: false)
  1822. @override
  1823. int get hashCode => Object.hash(
  1824. runtimeType,
  1825. idArticolo,
  1826. codArticolo,
  1827. descrizione,
  1828. prezzo,
  1829. unitaMisura,
  1830. fileFoto,
  1831. );
  1832. /// Create a copy of ItemDto
  1833. /// with the given fields replaced by the non-null parameter values.
  1834. @JsonKey(includeFromJson: false, includeToJson: false)
  1835. @override
  1836. @pragma('vm:prefer-inline')
  1837. _$$ItemDtoImplCopyWith<_$ItemDtoImpl> get copyWith =>
  1838. __$$ItemDtoImplCopyWithImpl<_$ItemDtoImpl>(this, _$identity);
  1839. @override
  1840. Map<String, dynamic> toJson() {
  1841. return _$$ItemDtoImplToJson(this);
  1842. }
  1843. }
  1844. abstract class _ItemDto implements ItemDto {
  1845. const factory _ItemDto({
  1846. final int? idArticolo,
  1847. final String? codArticolo,
  1848. final String? descrizione,
  1849. final double? prezzo,
  1850. final String? unitaMisura,
  1851. final String? fileFoto,
  1852. }) = _$ItemDtoImpl;
  1853. factory _ItemDto.fromJson(Map<String, dynamic> json) = _$ItemDtoImpl.fromJson;
  1854. @override
  1855. int? get idArticolo;
  1856. @override
  1857. String? get codArticolo;
  1858. @override
  1859. String? get descrizione;
  1860. @override
  1861. double? get prezzo;
  1862. @override
  1863. String? get unitaMisura;
  1864. @override
  1865. String? get fileFoto;
  1866. /// Create a copy of ItemDto
  1867. /// with the given fields replaced by the non-null parameter values.
  1868. @override
  1869. @JsonKey(includeFromJson: false, includeToJson: false)
  1870. _$$ItemDtoImplCopyWith<_$ItemDtoImpl> get copyWith =>
  1871. throw _privateConstructorUsedError;
  1872. }
  1873. ListinoDto _$ListinoDtoFromJson(Map<String, dynamic> json) {
  1874. return _ListinoDto.fromJson(json);
  1875. }
  1876. /// @nodoc
  1877. mixin _$ListinoDto {
  1878. int? get idListino => throw _privateConstructorUsedError;
  1879. String? get codListino => throw _privateConstructorUsedError;
  1880. String? get descrizione => throw _privateConstructorUsedError;
  1881. /// Serializes this ListinoDto to a JSON map.
  1882. Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
  1883. /// Create a copy of ListinoDto
  1884. /// with the given fields replaced by the non-null parameter values.
  1885. @JsonKey(includeFromJson: false, includeToJson: false)
  1886. $ListinoDtoCopyWith<ListinoDto> get copyWith =>
  1887. throw _privateConstructorUsedError;
  1888. }
  1889. /// @nodoc
  1890. abstract class $ListinoDtoCopyWith<$Res> {
  1891. factory $ListinoDtoCopyWith(
  1892. ListinoDto value,
  1893. $Res Function(ListinoDto) then,
  1894. ) = _$ListinoDtoCopyWithImpl<$Res, ListinoDto>;
  1895. @useResult
  1896. $Res call({int? idListino, String? codListino, String? descrizione});
  1897. }
  1898. /// @nodoc
  1899. class _$ListinoDtoCopyWithImpl<$Res, $Val extends ListinoDto>
  1900. implements $ListinoDtoCopyWith<$Res> {
  1901. _$ListinoDtoCopyWithImpl(this._value, this._then);
  1902. // ignore: unused_field
  1903. final $Val _value;
  1904. // ignore: unused_field
  1905. final $Res Function($Val) _then;
  1906. /// Create a copy of ListinoDto
  1907. /// with the given fields replaced by the non-null parameter values.
  1908. @pragma('vm:prefer-inline')
  1909. @override
  1910. $Res call({
  1911. Object? idListino = freezed,
  1912. Object? codListino = freezed,
  1913. Object? descrizione = freezed,
  1914. }) {
  1915. return _then(
  1916. _value.copyWith(
  1917. idListino: freezed == idListino
  1918. ? _value.idListino
  1919. : idListino // ignore: cast_nullable_to_non_nullable
  1920. as int?,
  1921. codListino: freezed == codListino
  1922. ? _value.codListino
  1923. : codListino // ignore: cast_nullable_to_non_nullable
  1924. as String?,
  1925. descrizione: freezed == descrizione
  1926. ? _value.descrizione
  1927. : descrizione // ignore: cast_nullable_to_non_nullable
  1928. as String?,
  1929. )
  1930. as $Val,
  1931. );
  1932. }
  1933. }
  1934. /// @nodoc
  1935. abstract class _$$ListinoDtoImplCopyWith<$Res>
  1936. implements $ListinoDtoCopyWith<$Res> {
  1937. factory _$$ListinoDtoImplCopyWith(
  1938. _$ListinoDtoImpl value,
  1939. $Res Function(_$ListinoDtoImpl) then,
  1940. ) = __$$ListinoDtoImplCopyWithImpl<$Res>;
  1941. @override
  1942. @useResult
  1943. $Res call({int? idListino, String? codListino, String? descrizione});
  1944. }
  1945. /// @nodoc
  1946. class __$$ListinoDtoImplCopyWithImpl<$Res>
  1947. extends _$ListinoDtoCopyWithImpl<$Res, _$ListinoDtoImpl>
  1948. implements _$$ListinoDtoImplCopyWith<$Res> {
  1949. __$$ListinoDtoImplCopyWithImpl(
  1950. _$ListinoDtoImpl _value,
  1951. $Res Function(_$ListinoDtoImpl) _then,
  1952. ) : super(_value, _then);
  1953. /// Create a copy of ListinoDto
  1954. /// with the given fields replaced by the non-null parameter values.
  1955. @pragma('vm:prefer-inline')
  1956. @override
  1957. $Res call({
  1958. Object? idListino = freezed,
  1959. Object? codListino = freezed,
  1960. Object? descrizione = freezed,
  1961. }) {
  1962. return _then(
  1963. _$ListinoDtoImpl(
  1964. idListino: freezed == idListino
  1965. ? _value.idListino
  1966. : idListino // ignore: cast_nullable_to_non_nullable
  1967. as int?,
  1968. codListino: freezed == codListino
  1969. ? _value.codListino
  1970. : codListino // ignore: cast_nullable_to_non_nullable
  1971. as String?,
  1972. descrizione: freezed == descrizione
  1973. ? _value.descrizione
  1974. : descrizione // ignore: cast_nullable_to_non_nullable
  1975. as String?,
  1976. ),
  1977. );
  1978. }
  1979. }
  1980. /// @nodoc
  1981. @JsonSerializable()
  1982. class _$ListinoDtoImpl implements _ListinoDto {
  1983. const _$ListinoDtoImpl({this.idListino, this.codListino, this.descrizione});
  1984. factory _$ListinoDtoImpl.fromJson(Map<String, dynamic> json) =>
  1985. _$$ListinoDtoImplFromJson(json);
  1986. @override
  1987. final int? idListino;
  1988. @override
  1989. final String? codListino;
  1990. @override
  1991. final String? descrizione;
  1992. @override
  1993. String toString() {
  1994. return 'ListinoDto(idListino: $idListino, codListino: $codListino, descrizione: $descrizione)';
  1995. }
  1996. @override
  1997. bool operator ==(Object other) {
  1998. return identical(this, other) ||
  1999. (other.runtimeType == runtimeType &&
  2000. other is _$ListinoDtoImpl &&
  2001. (identical(other.idListino, idListino) ||
  2002. other.idListino == idListino) &&
  2003. (identical(other.codListino, codListino) ||
  2004. other.codListino == codListino) &&
  2005. (identical(other.descrizione, descrizione) ||
  2006. other.descrizione == descrizione));
  2007. }
  2008. @JsonKey(includeFromJson: false, includeToJson: false)
  2009. @override
  2010. int get hashCode =>
  2011. Object.hash(runtimeType, idListino, codListino, descrizione);
  2012. /// Create a copy of ListinoDto
  2013. /// with the given fields replaced by the non-null parameter values.
  2014. @JsonKey(includeFromJson: false, includeToJson: false)
  2015. @override
  2016. @pragma('vm:prefer-inline')
  2017. _$$ListinoDtoImplCopyWith<_$ListinoDtoImpl> get copyWith =>
  2018. __$$ListinoDtoImplCopyWithImpl<_$ListinoDtoImpl>(this, _$identity);
  2019. @override
  2020. Map<String, dynamic> toJson() {
  2021. return _$$ListinoDtoImplToJson(this);
  2022. }
  2023. }
  2024. abstract class _ListinoDto implements ListinoDto {
  2025. const factory _ListinoDto({
  2026. final int? idListino,
  2027. final String? codListino,
  2028. final String? descrizione,
  2029. }) = _$ListinoDtoImpl;
  2030. factory _ListinoDto.fromJson(Map<String, dynamic> json) =
  2031. _$ListinoDtoImpl.fromJson;
  2032. @override
  2033. int? get idListino;
  2034. @override
  2035. String? get codListino;
  2036. @override
  2037. String? get descrizione;
  2038. /// Create a copy of ListinoDto
  2039. /// with the given fields replaced by the non-null parameter values.
  2040. @override
  2041. @JsonKey(includeFromJson: false, includeToJson: false)
  2042. _$$ListinoDtoImplCopyWith<_$ListinoDtoImpl> get copyWith =>
  2043. throw _privateConstructorUsedError;
  2044. }
  2045. ScontoDto _$ScontoDtoFromJson(Map<String, dynamic> json) {
  2046. return _ScontoDto.fromJson(json);
  2047. }
  2048. /// @nodoc
  2049. mixin _$ScontoDto {
  2050. int? get idSconto => throw _privateConstructorUsedError;
  2051. String? get codSconto => throw _privateConstructorUsedError;
  2052. String? get descrizione => throw _privateConstructorUsedError;
  2053. double? get sconto1 => throw _privateConstructorUsedError;
  2054. double? get sconto2 => throw _privateConstructorUsedError;
  2055. double? get sconto3 => throw _privateConstructorUsedError;
  2056. double? get sconto4 => throw _privateConstructorUsedError;
  2057. double? get sconto5 => throw _privateConstructorUsedError;
  2058. /// Serializes this ScontoDto to a JSON map.
  2059. Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
  2060. /// Create a copy of ScontoDto
  2061. /// with the given fields replaced by the non-null parameter values.
  2062. @JsonKey(includeFromJson: false, includeToJson: false)
  2063. $ScontoDtoCopyWith<ScontoDto> get copyWith =>
  2064. throw _privateConstructorUsedError;
  2065. }
  2066. /// @nodoc
  2067. abstract class $ScontoDtoCopyWith<$Res> {
  2068. factory $ScontoDtoCopyWith(ScontoDto value, $Res Function(ScontoDto) then) =
  2069. _$ScontoDtoCopyWithImpl<$Res, ScontoDto>;
  2070. @useResult
  2071. $Res call({
  2072. int? idSconto,
  2073. String? codSconto,
  2074. String? descrizione,
  2075. double? sconto1,
  2076. double? sconto2,
  2077. double? sconto3,
  2078. double? sconto4,
  2079. double? sconto5,
  2080. });
  2081. }
  2082. /// @nodoc
  2083. class _$ScontoDtoCopyWithImpl<$Res, $Val extends ScontoDto>
  2084. implements $ScontoDtoCopyWith<$Res> {
  2085. _$ScontoDtoCopyWithImpl(this._value, this._then);
  2086. // ignore: unused_field
  2087. final $Val _value;
  2088. // ignore: unused_field
  2089. final $Res Function($Val) _then;
  2090. /// Create a copy of ScontoDto
  2091. /// with the given fields replaced by the non-null parameter values.
  2092. @pragma('vm:prefer-inline')
  2093. @override
  2094. $Res call({
  2095. Object? idSconto = freezed,
  2096. Object? codSconto = freezed,
  2097. Object? descrizione = freezed,
  2098. Object? sconto1 = freezed,
  2099. Object? sconto2 = freezed,
  2100. Object? sconto3 = freezed,
  2101. Object? sconto4 = freezed,
  2102. Object? sconto5 = freezed,
  2103. }) {
  2104. return _then(
  2105. _value.copyWith(
  2106. idSconto: freezed == idSconto
  2107. ? _value.idSconto
  2108. : idSconto // ignore: cast_nullable_to_non_nullable
  2109. as int?,
  2110. codSconto: freezed == codSconto
  2111. ? _value.codSconto
  2112. : codSconto // ignore: cast_nullable_to_non_nullable
  2113. as String?,
  2114. descrizione: freezed == descrizione
  2115. ? _value.descrizione
  2116. : descrizione // ignore: cast_nullable_to_non_nullable
  2117. as String?,
  2118. sconto1: freezed == sconto1
  2119. ? _value.sconto1
  2120. : sconto1 // ignore: cast_nullable_to_non_nullable
  2121. as double?,
  2122. sconto2: freezed == sconto2
  2123. ? _value.sconto2
  2124. : sconto2 // ignore: cast_nullable_to_non_nullable
  2125. as double?,
  2126. sconto3: freezed == sconto3
  2127. ? _value.sconto3
  2128. : sconto3 // ignore: cast_nullable_to_non_nullable
  2129. as double?,
  2130. sconto4: freezed == sconto4
  2131. ? _value.sconto4
  2132. : sconto4 // ignore: cast_nullable_to_non_nullable
  2133. as double?,
  2134. sconto5: freezed == sconto5
  2135. ? _value.sconto5
  2136. : sconto5 // ignore: cast_nullable_to_non_nullable
  2137. as double?,
  2138. )
  2139. as $Val,
  2140. );
  2141. }
  2142. }
  2143. /// @nodoc
  2144. abstract class _$$ScontoDtoImplCopyWith<$Res>
  2145. implements $ScontoDtoCopyWith<$Res> {
  2146. factory _$$ScontoDtoImplCopyWith(
  2147. _$ScontoDtoImpl value,
  2148. $Res Function(_$ScontoDtoImpl) then,
  2149. ) = __$$ScontoDtoImplCopyWithImpl<$Res>;
  2150. @override
  2151. @useResult
  2152. $Res call({
  2153. int? idSconto,
  2154. String? codSconto,
  2155. String? descrizione,
  2156. double? sconto1,
  2157. double? sconto2,
  2158. double? sconto3,
  2159. double? sconto4,
  2160. double? sconto5,
  2161. });
  2162. }
  2163. /// @nodoc
  2164. class __$$ScontoDtoImplCopyWithImpl<$Res>
  2165. extends _$ScontoDtoCopyWithImpl<$Res, _$ScontoDtoImpl>
  2166. implements _$$ScontoDtoImplCopyWith<$Res> {
  2167. __$$ScontoDtoImplCopyWithImpl(
  2168. _$ScontoDtoImpl _value,
  2169. $Res Function(_$ScontoDtoImpl) _then,
  2170. ) : super(_value, _then);
  2171. /// Create a copy of ScontoDto
  2172. /// with the given fields replaced by the non-null parameter values.
  2173. @pragma('vm:prefer-inline')
  2174. @override
  2175. $Res call({
  2176. Object? idSconto = freezed,
  2177. Object? codSconto = freezed,
  2178. Object? descrizione = freezed,
  2179. Object? sconto1 = freezed,
  2180. Object? sconto2 = freezed,
  2181. Object? sconto3 = freezed,
  2182. Object? sconto4 = freezed,
  2183. Object? sconto5 = freezed,
  2184. }) {
  2185. return _then(
  2186. _$ScontoDtoImpl(
  2187. idSconto: freezed == idSconto
  2188. ? _value.idSconto
  2189. : idSconto // ignore: cast_nullable_to_non_nullable
  2190. as int?,
  2191. codSconto: freezed == codSconto
  2192. ? _value.codSconto
  2193. : codSconto // ignore: cast_nullable_to_non_nullable
  2194. as String?,
  2195. descrizione: freezed == descrizione
  2196. ? _value.descrizione
  2197. : descrizione // ignore: cast_nullable_to_non_nullable
  2198. as String?,
  2199. sconto1: freezed == sconto1
  2200. ? _value.sconto1
  2201. : sconto1 // ignore: cast_nullable_to_non_nullable
  2202. as double?,
  2203. sconto2: freezed == sconto2
  2204. ? _value.sconto2
  2205. : sconto2 // ignore: cast_nullable_to_non_nullable
  2206. as double?,
  2207. sconto3: freezed == sconto3
  2208. ? _value.sconto3
  2209. : sconto3 // ignore: cast_nullable_to_non_nullable
  2210. as double?,
  2211. sconto4: freezed == sconto4
  2212. ? _value.sconto4
  2213. : sconto4 // ignore: cast_nullable_to_non_nullable
  2214. as double?,
  2215. sconto5: freezed == sconto5
  2216. ? _value.sconto5
  2217. : sconto5 // ignore: cast_nullable_to_non_nullable
  2218. as double?,
  2219. ),
  2220. );
  2221. }
  2222. }
  2223. /// @nodoc
  2224. @JsonSerializable()
  2225. class _$ScontoDtoImpl implements _ScontoDto {
  2226. const _$ScontoDtoImpl({
  2227. this.idSconto,
  2228. this.codSconto,
  2229. this.descrizione,
  2230. this.sconto1,
  2231. this.sconto2,
  2232. this.sconto3,
  2233. this.sconto4,
  2234. this.sconto5,
  2235. });
  2236. factory _$ScontoDtoImpl.fromJson(Map<String, dynamic> json) =>
  2237. _$$ScontoDtoImplFromJson(json);
  2238. @override
  2239. final int? idSconto;
  2240. @override
  2241. final String? codSconto;
  2242. @override
  2243. final String? descrizione;
  2244. @override
  2245. final double? sconto1;
  2246. @override
  2247. final double? sconto2;
  2248. @override
  2249. final double? sconto3;
  2250. @override
  2251. final double? sconto4;
  2252. @override
  2253. final double? sconto5;
  2254. @override
  2255. String toString() {
  2256. return 'ScontoDto(idSconto: $idSconto, codSconto: $codSconto, descrizione: $descrizione, sconto1: $sconto1, sconto2: $sconto2, sconto3: $sconto3, sconto4: $sconto4, sconto5: $sconto5)';
  2257. }
  2258. @override
  2259. bool operator ==(Object other) {
  2260. return identical(this, other) ||
  2261. (other.runtimeType == runtimeType &&
  2262. other is _$ScontoDtoImpl &&
  2263. (identical(other.idSconto, idSconto) ||
  2264. other.idSconto == idSconto) &&
  2265. (identical(other.codSconto, codSconto) ||
  2266. other.codSconto == codSconto) &&
  2267. (identical(other.descrizione, descrizione) ||
  2268. other.descrizione == descrizione) &&
  2269. (identical(other.sconto1, sconto1) || other.sconto1 == sconto1) &&
  2270. (identical(other.sconto2, sconto2) || other.sconto2 == sconto2) &&
  2271. (identical(other.sconto3, sconto3) || other.sconto3 == sconto3) &&
  2272. (identical(other.sconto4, sconto4) || other.sconto4 == sconto4) &&
  2273. (identical(other.sconto5, sconto5) || other.sconto5 == sconto5));
  2274. }
  2275. @JsonKey(includeFromJson: false, includeToJson: false)
  2276. @override
  2277. int get hashCode => Object.hash(
  2278. runtimeType,
  2279. idSconto,
  2280. codSconto,
  2281. descrizione,
  2282. sconto1,
  2283. sconto2,
  2284. sconto3,
  2285. sconto4,
  2286. sconto5,
  2287. );
  2288. /// Create a copy of ScontoDto
  2289. /// with the given fields replaced by the non-null parameter values.
  2290. @JsonKey(includeFromJson: false, includeToJson: false)
  2291. @override
  2292. @pragma('vm:prefer-inline')
  2293. _$$ScontoDtoImplCopyWith<_$ScontoDtoImpl> get copyWith =>
  2294. __$$ScontoDtoImplCopyWithImpl<_$ScontoDtoImpl>(this, _$identity);
  2295. @override
  2296. Map<String, dynamic> toJson() {
  2297. return _$$ScontoDtoImplToJson(this);
  2298. }
  2299. }
  2300. abstract class _ScontoDto implements ScontoDto {
  2301. const factory _ScontoDto({
  2302. final int? idSconto,
  2303. final String? codSconto,
  2304. final String? descrizione,
  2305. final double? sconto1,
  2306. final double? sconto2,
  2307. final double? sconto3,
  2308. final double? sconto4,
  2309. final double? sconto5,
  2310. }) = _$ScontoDtoImpl;
  2311. factory _ScontoDto.fromJson(Map<String, dynamic> json) =
  2312. _$ScontoDtoImpl.fromJson;
  2313. @override
  2314. int? get idSconto;
  2315. @override
  2316. String? get codSconto;
  2317. @override
  2318. String? get descrizione;
  2319. @override
  2320. double? get sconto1;
  2321. @override
  2322. double? get sconto2;
  2323. @override
  2324. double? get sconto3;
  2325. @override
  2326. double? get sconto4;
  2327. @override
  2328. double? get sconto5;
  2329. /// Create a copy of ScontoDto
  2330. /// with the given fields replaced by the non-null parameter values.
  2331. @override
  2332. @JsonKey(includeFromJson: false, includeToJson: false)
  2333. _$$ScontoDtoImplCopyWith<_$ScontoDtoImpl> get copyWith =>
  2334. throw _privateConstructorUsedError;
  2335. }