sync_promo_dto.freezed.dart 80 KB

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