groups.freezed.dart 40 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387
  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 'groups.dart';
  6. // **************************************************************************
  7. // FreezedGenerator
  8. // **************************************************************************
  9. T _$identity<T>(T value) => value;
  10. final _privateConstructorUsedError = UnsupportedError(
  11. 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models',
  12. );
  13. Groups _$GroupsFromJson(Map<String, dynamic> json) {
  14. return _Groups.fromJson(json);
  15. }
  16. /// @nodoc
  17. mixin _$Groups {
  18. Normal? get normal => throw _privateConstructorUsedError;
  19. /// Serializes this Groups to a JSON map.
  20. Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
  21. /// Create a copy of Groups
  22. /// with the given fields replaced by the non-null parameter values.
  23. @JsonKey(includeFromJson: false, includeToJson: false)
  24. $GroupsCopyWith<Groups> get copyWith => throw _privateConstructorUsedError;
  25. }
  26. /// @nodoc
  27. abstract class $GroupsCopyWith<$Res> {
  28. factory $GroupsCopyWith(Groups value, $Res Function(Groups) then) =
  29. _$GroupsCopyWithImpl<$Res, Groups>;
  30. @useResult
  31. $Res call({Normal? normal});
  32. $NormalCopyWith<$Res>? get normal;
  33. }
  34. /// @nodoc
  35. class _$GroupsCopyWithImpl<$Res, $Val extends Groups>
  36. implements $GroupsCopyWith<$Res> {
  37. _$GroupsCopyWithImpl(this._value, this._then);
  38. // ignore: unused_field
  39. final $Val _value;
  40. // ignore: unused_field
  41. final $Res Function($Val) _then;
  42. /// Create a copy of Groups
  43. /// with the given fields replaced by the non-null parameter values.
  44. @pragma('vm:prefer-inline')
  45. @override
  46. $Res call({Object? normal = freezed}) {
  47. return _then(
  48. _value.copyWith(
  49. normal: freezed == normal
  50. ? _value.normal
  51. : normal // ignore: cast_nullable_to_non_nullable
  52. as Normal?,
  53. )
  54. as $Val,
  55. );
  56. }
  57. /// Create a copy of Groups
  58. /// with the given fields replaced by the non-null parameter values.
  59. @override
  60. @pragma('vm:prefer-inline')
  61. $NormalCopyWith<$Res>? get normal {
  62. if (_value.normal == null) {
  63. return null;
  64. }
  65. return $NormalCopyWith<$Res>(_value.normal!, (value) {
  66. return _then(_value.copyWith(normal: value) as $Val);
  67. });
  68. }
  69. }
  70. /// @nodoc
  71. abstract class _$$GroupsImplCopyWith<$Res> implements $GroupsCopyWith<$Res> {
  72. factory _$$GroupsImplCopyWith(
  73. _$GroupsImpl value,
  74. $Res Function(_$GroupsImpl) then,
  75. ) = __$$GroupsImplCopyWithImpl<$Res>;
  76. @override
  77. @useResult
  78. $Res call({Normal? normal});
  79. @override
  80. $NormalCopyWith<$Res>? get normal;
  81. }
  82. /// @nodoc
  83. class __$$GroupsImplCopyWithImpl<$Res>
  84. extends _$GroupsCopyWithImpl<$Res, _$GroupsImpl>
  85. implements _$$GroupsImplCopyWith<$Res> {
  86. __$$GroupsImplCopyWithImpl(
  87. _$GroupsImpl _value,
  88. $Res Function(_$GroupsImpl) _then,
  89. ) : super(_value, _then);
  90. /// Create a copy of Groups
  91. /// with the given fields replaced by the non-null parameter values.
  92. @pragma('vm:prefer-inline')
  93. @override
  94. $Res call({Object? normal = freezed}) {
  95. return _then(
  96. _$GroupsImpl(
  97. normal: freezed == normal
  98. ? _value.normal
  99. : normal // ignore: cast_nullable_to_non_nullable
  100. as Normal?,
  101. ),
  102. );
  103. }
  104. }
  105. /// @nodoc
  106. @JsonSerializable()
  107. class _$GroupsImpl with DiagnosticableTreeMixin implements _Groups {
  108. const _$GroupsImpl({this.normal});
  109. factory _$GroupsImpl.fromJson(Map<String, dynamic> json) =>
  110. _$$GroupsImplFromJson(json);
  111. @override
  112. final Normal? normal;
  113. @override
  114. String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) {
  115. return 'Groups(normal: $normal)';
  116. }
  117. @override
  118. void debugFillProperties(DiagnosticPropertiesBuilder properties) {
  119. super.debugFillProperties(properties);
  120. properties
  121. ..add(DiagnosticsProperty('type', 'Groups'))
  122. ..add(DiagnosticsProperty('normal', normal));
  123. }
  124. @override
  125. bool operator ==(Object other) {
  126. return identical(this, other) ||
  127. (other.runtimeType == runtimeType &&
  128. other is _$GroupsImpl &&
  129. (identical(other.normal, normal) || other.normal == normal));
  130. }
  131. @JsonKey(includeFromJson: false, includeToJson: false)
  132. @override
  133. int get hashCode => Object.hash(runtimeType, normal);
  134. /// Create a copy of Groups
  135. /// with the given fields replaced by the non-null parameter values.
  136. @JsonKey(includeFromJson: false, includeToJson: false)
  137. @override
  138. @pragma('vm:prefer-inline')
  139. _$$GroupsImplCopyWith<_$GroupsImpl> get copyWith =>
  140. __$$GroupsImplCopyWithImpl<_$GroupsImpl>(this, _$identity);
  141. @override
  142. Map<String, dynamic> toJson() {
  143. return _$$GroupsImplToJson(this);
  144. }
  145. }
  146. abstract class _Groups implements Groups {
  147. const factory _Groups({final Normal? normal}) = _$GroupsImpl;
  148. factory _Groups.fromJson(Map<String, dynamic> json) = _$GroupsImpl.fromJson;
  149. @override
  150. Normal? get normal;
  151. /// Create a copy of Groups
  152. /// with the given fields replaced by the non-null parameter values.
  153. @override
  154. @JsonKey(includeFromJson: false, includeToJson: false)
  155. _$$GroupsImplCopyWith<_$GroupsImpl> get copyWith =>
  156. throw _privateConstructorUsedError;
  157. }
  158. Normal _$NormalFromJson(Map<String, dynamic> json) {
  159. return _Normal.fromJson(json);
  160. }
  161. /// @nodoc
  162. mixin _$Normal {
  163. List<Tags>? get tags => throw _privateConstructorUsedError;
  164. List<LocationList>? get list => throw _privateConstructorUsedError;
  165. /// Serializes this Normal to a JSON map.
  166. Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
  167. /// Create a copy of Normal
  168. /// with the given fields replaced by the non-null parameter values.
  169. @JsonKey(includeFromJson: false, includeToJson: false)
  170. $NormalCopyWith<Normal> get copyWith => throw _privateConstructorUsedError;
  171. }
  172. /// @nodoc
  173. abstract class $NormalCopyWith<$Res> {
  174. factory $NormalCopyWith(Normal value, $Res Function(Normal) then) =
  175. _$NormalCopyWithImpl<$Res, Normal>;
  176. @useResult
  177. $Res call({List<Tags>? tags, List<LocationList>? list});
  178. }
  179. /// @nodoc
  180. class _$NormalCopyWithImpl<$Res, $Val extends Normal>
  181. implements $NormalCopyWith<$Res> {
  182. _$NormalCopyWithImpl(this._value, this._then);
  183. // ignore: unused_field
  184. final $Val _value;
  185. // ignore: unused_field
  186. final $Res Function($Val) _then;
  187. /// Create a copy of Normal
  188. /// with the given fields replaced by the non-null parameter values.
  189. @pragma('vm:prefer-inline')
  190. @override
  191. $Res call({Object? tags = freezed, Object? list = freezed}) {
  192. return _then(
  193. _value.copyWith(
  194. tags: freezed == tags
  195. ? _value.tags
  196. : tags // ignore: cast_nullable_to_non_nullable
  197. as List<Tags>?,
  198. list: freezed == list
  199. ? _value.list
  200. : list // ignore: cast_nullable_to_non_nullable
  201. as List<LocationList>?,
  202. )
  203. as $Val,
  204. );
  205. }
  206. }
  207. /// @nodoc
  208. abstract class _$$NormalImplCopyWith<$Res> implements $NormalCopyWith<$Res> {
  209. factory _$$NormalImplCopyWith(
  210. _$NormalImpl value,
  211. $Res Function(_$NormalImpl) then,
  212. ) = __$$NormalImplCopyWithImpl<$Res>;
  213. @override
  214. @useResult
  215. $Res call({List<Tags>? tags, List<LocationList>? list});
  216. }
  217. /// @nodoc
  218. class __$$NormalImplCopyWithImpl<$Res>
  219. extends _$NormalCopyWithImpl<$Res, _$NormalImpl>
  220. implements _$$NormalImplCopyWith<$Res> {
  221. __$$NormalImplCopyWithImpl(
  222. _$NormalImpl _value,
  223. $Res Function(_$NormalImpl) _then,
  224. ) : super(_value, _then);
  225. /// Create a copy of Normal
  226. /// with the given fields replaced by the non-null parameter values.
  227. @pragma('vm:prefer-inline')
  228. @override
  229. $Res call({Object? tags = freezed, Object? list = freezed}) {
  230. return _then(
  231. _$NormalImpl(
  232. tags: freezed == tags
  233. ? _value._tags
  234. : tags // ignore: cast_nullable_to_non_nullable
  235. as List<Tags>?,
  236. list: freezed == list
  237. ? _value._list
  238. : list // ignore: cast_nullable_to_non_nullable
  239. as List<LocationList>?,
  240. ),
  241. );
  242. }
  243. }
  244. /// @nodoc
  245. @JsonSerializable()
  246. class _$NormalImpl with DiagnosticableTreeMixin implements _Normal {
  247. const _$NormalImpl({final List<Tags>? tags, final List<LocationList>? list})
  248. : _tags = tags,
  249. _list = list;
  250. factory _$NormalImpl.fromJson(Map<String, dynamic> json) =>
  251. _$$NormalImplFromJson(json);
  252. final List<Tags>? _tags;
  253. @override
  254. List<Tags>? get tags {
  255. final value = _tags;
  256. if (value == null) return null;
  257. if (_tags is EqualUnmodifiableListView) return _tags;
  258. // ignore: implicit_dynamic_type
  259. return EqualUnmodifiableListView(value);
  260. }
  261. final List<LocationList>? _list;
  262. @override
  263. List<LocationList>? get list {
  264. final value = _list;
  265. if (value == null) return null;
  266. if (_list is EqualUnmodifiableListView) return _list;
  267. // ignore: implicit_dynamic_type
  268. return EqualUnmodifiableListView(value);
  269. }
  270. @override
  271. String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) {
  272. return 'Normal(tags: $tags, list: $list)';
  273. }
  274. @override
  275. void debugFillProperties(DiagnosticPropertiesBuilder properties) {
  276. super.debugFillProperties(properties);
  277. properties
  278. ..add(DiagnosticsProperty('type', 'Normal'))
  279. ..add(DiagnosticsProperty('tags', tags))
  280. ..add(DiagnosticsProperty('list', list));
  281. }
  282. @override
  283. bool operator ==(Object other) {
  284. return identical(this, other) ||
  285. (other.runtimeType == runtimeType &&
  286. other is _$NormalImpl &&
  287. const DeepCollectionEquality().equals(other._tags, _tags) &&
  288. const DeepCollectionEquality().equals(other._list, _list));
  289. }
  290. @JsonKey(includeFromJson: false, includeToJson: false)
  291. @override
  292. int get hashCode => Object.hash(
  293. runtimeType,
  294. const DeepCollectionEquality().hash(_tags),
  295. const DeepCollectionEquality().hash(_list),
  296. );
  297. /// Create a copy of Normal
  298. /// with the given fields replaced by the non-null parameter values.
  299. @JsonKey(includeFromJson: false, includeToJson: false)
  300. @override
  301. @pragma('vm:prefer-inline')
  302. _$$NormalImplCopyWith<_$NormalImpl> get copyWith =>
  303. __$$NormalImplCopyWithImpl<_$NormalImpl>(this, _$identity);
  304. @override
  305. Map<String, dynamic> toJson() {
  306. return _$$NormalImplToJson(this);
  307. }
  308. }
  309. abstract class _Normal implements Normal {
  310. const factory _Normal({
  311. final List<Tags>? tags,
  312. final List<LocationList>? list,
  313. }) = _$NormalImpl;
  314. factory _Normal.fromJson(Map<String, dynamic> json) = _$NormalImpl.fromJson;
  315. @override
  316. List<Tags>? get tags;
  317. @override
  318. List<LocationList>? get list;
  319. /// Create a copy of Normal
  320. /// with the given fields replaced by the non-null parameter values.
  321. @override
  322. @JsonKey(includeFromJson: false, includeToJson: false)
  323. _$$NormalImplCopyWith<_$NormalImpl> get copyWith =>
  324. throw _privateConstructorUsedError;
  325. }
  326. Tags _$TagsFromJson(Map<String, dynamic> json) {
  327. return _Tags.fromJson(json);
  328. }
  329. /// @nodoc
  330. mixin _$Tags {
  331. int? get id => throw _privateConstructorUsedError;
  332. String? get name => throw _privateConstructorUsedError;
  333. String? get icon => throw _privateConstructorUsedError;
  334. int? get sort => throw _privateConstructorUsedError;
  335. /// Serializes this Tags to a JSON map.
  336. Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
  337. /// Create a copy of Tags
  338. /// with the given fields replaced by the non-null parameter values.
  339. @JsonKey(includeFromJson: false, includeToJson: false)
  340. $TagsCopyWith<Tags> get copyWith => throw _privateConstructorUsedError;
  341. }
  342. /// @nodoc
  343. abstract class $TagsCopyWith<$Res> {
  344. factory $TagsCopyWith(Tags value, $Res Function(Tags) then) =
  345. _$TagsCopyWithImpl<$Res, Tags>;
  346. @useResult
  347. $Res call({int? id, String? name, String? icon, int? sort});
  348. }
  349. /// @nodoc
  350. class _$TagsCopyWithImpl<$Res, $Val extends Tags>
  351. implements $TagsCopyWith<$Res> {
  352. _$TagsCopyWithImpl(this._value, this._then);
  353. // ignore: unused_field
  354. final $Val _value;
  355. // ignore: unused_field
  356. final $Res Function($Val) _then;
  357. /// Create a copy of Tags
  358. /// with the given fields replaced by the non-null parameter values.
  359. @pragma('vm:prefer-inline')
  360. @override
  361. $Res call({
  362. Object? id = freezed,
  363. Object? name = freezed,
  364. Object? icon = freezed,
  365. Object? sort = freezed,
  366. }) {
  367. return _then(
  368. _value.copyWith(
  369. id: freezed == id
  370. ? _value.id
  371. : id // ignore: cast_nullable_to_non_nullable
  372. as int?,
  373. name: freezed == name
  374. ? _value.name
  375. : name // ignore: cast_nullable_to_non_nullable
  376. as String?,
  377. icon: freezed == icon
  378. ? _value.icon
  379. : icon // ignore: cast_nullable_to_non_nullable
  380. as String?,
  381. sort: freezed == sort
  382. ? _value.sort
  383. : sort // ignore: cast_nullable_to_non_nullable
  384. as int?,
  385. )
  386. as $Val,
  387. );
  388. }
  389. }
  390. /// @nodoc
  391. abstract class _$$TagsImplCopyWith<$Res> implements $TagsCopyWith<$Res> {
  392. factory _$$TagsImplCopyWith(
  393. _$TagsImpl value,
  394. $Res Function(_$TagsImpl) then,
  395. ) = __$$TagsImplCopyWithImpl<$Res>;
  396. @override
  397. @useResult
  398. $Res call({int? id, String? name, String? icon, int? sort});
  399. }
  400. /// @nodoc
  401. class __$$TagsImplCopyWithImpl<$Res>
  402. extends _$TagsCopyWithImpl<$Res, _$TagsImpl>
  403. implements _$$TagsImplCopyWith<$Res> {
  404. __$$TagsImplCopyWithImpl(_$TagsImpl _value, $Res Function(_$TagsImpl) _then)
  405. : super(_value, _then);
  406. /// Create a copy of Tags
  407. /// with the given fields replaced by the non-null parameter values.
  408. @pragma('vm:prefer-inline')
  409. @override
  410. $Res call({
  411. Object? id = freezed,
  412. Object? name = freezed,
  413. Object? icon = freezed,
  414. Object? sort = freezed,
  415. }) {
  416. return _then(
  417. _$TagsImpl(
  418. id: freezed == id
  419. ? _value.id
  420. : id // ignore: cast_nullable_to_non_nullable
  421. as int?,
  422. name: freezed == name
  423. ? _value.name
  424. : name // ignore: cast_nullable_to_non_nullable
  425. as String?,
  426. icon: freezed == icon
  427. ? _value.icon
  428. : icon // ignore: cast_nullable_to_non_nullable
  429. as String?,
  430. sort: freezed == sort
  431. ? _value.sort
  432. : sort // ignore: cast_nullable_to_non_nullable
  433. as int?,
  434. ),
  435. );
  436. }
  437. }
  438. /// @nodoc
  439. @JsonSerializable()
  440. class _$TagsImpl with DiagnosticableTreeMixin implements _Tags {
  441. const _$TagsImpl({this.id, this.name, this.icon, this.sort});
  442. factory _$TagsImpl.fromJson(Map<String, dynamic> json) =>
  443. _$$TagsImplFromJson(json);
  444. @override
  445. final int? id;
  446. @override
  447. final String? name;
  448. @override
  449. final String? icon;
  450. @override
  451. final int? sort;
  452. @override
  453. String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) {
  454. return 'Tags(id: $id, name: $name, icon: $icon, sort: $sort)';
  455. }
  456. @override
  457. void debugFillProperties(DiagnosticPropertiesBuilder properties) {
  458. super.debugFillProperties(properties);
  459. properties
  460. ..add(DiagnosticsProperty('type', 'Tags'))
  461. ..add(DiagnosticsProperty('id', id))
  462. ..add(DiagnosticsProperty('name', name))
  463. ..add(DiagnosticsProperty('icon', icon))
  464. ..add(DiagnosticsProperty('sort', sort));
  465. }
  466. @override
  467. bool operator ==(Object other) {
  468. return identical(this, other) ||
  469. (other.runtimeType == runtimeType &&
  470. other is _$TagsImpl &&
  471. (identical(other.id, id) || other.id == id) &&
  472. (identical(other.name, name) || other.name == name) &&
  473. (identical(other.icon, icon) || other.icon == icon) &&
  474. (identical(other.sort, sort) || other.sort == sort));
  475. }
  476. @JsonKey(includeFromJson: false, includeToJson: false)
  477. @override
  478. int get hashCode => Object.hash(runtimeType, id, name, icon, sort);
  479. /// Create a copy of Tags
  480. /// with the given fields replaced by the non-null parameter values.
  481. @JsonKey(includeFromJson: false, includeToJson: false)
  482. @override
  483. @pragma('vm:prefer-inline')
  484. _$$TagsImplCopyWith<_$TagsImpl> get copyWith =>
  485. __$$TagsImplCopyWithImpl<_$TagsImpl>(this, _$identity);
  486. @override
  487. Map<String, dynamic> toJson() {
  488. return _$$TagsImplToJson(this);
  489. }
  490. }
  491. abstract class _Tags implements Tags {
  492. const factory _Tags({
  493. final int? id,
  494. final String? name,
  495. final String? icon,
  496. final int? sort,
  497. }) = _$TagsImpl;
  498. factory _Tags.fromJson(Map<String, dynamic> json) = _$TagsImpl.fromJson;
  499. @override
  500. int? get id;
  501. @override
  502. String? get name;
  503. @override
  504. String? get icon;
  505. @override
  506. int? get sort;
  507. /// Create a copy of Tags
  508. /// with the given fields replaced by the non-null parameter values.
  509. @override
  510. @JsonKey(includeFromJson: false, includeToJson: false)
  511. _$$TagsImplCopyWith<_$TagsImpl> get copyWith =>
  512. throw _privateConstructorUsedError;
  513. }
  514. LocationList _$LocationListFromJson(Map<String, dynamic> json) {
  515. return _LocationList.fromJson(json);
  516. }
  517. /// @nodoc
  518. mixin _$LocationList {
  519. int? get id => throw _privateConstructorUsedError;
  520. String? get name => throw _privateConstructorUsedError;
  521. String? get icon => throw _privateConstructorUsedError;
  522. int? get tag => throw _privateConstructorUsedError;
  523. List<Locations>? get locations => throw _privateConstructorUsedError;
  524. /// Serializes this LocationList to a JSON map.
  525. Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
  526. /// Create a copy of LocationList
  527. /// with the given fields replaced by the non-null parameter values.
  528. @JsonKey(includeFromJson: false, includeToJson: false)
  529. $LocationListCopyWith<LocationList> get copyWith =>
  530. throw _privateConstructorUsedError;
  531. }
  532. /// @nodoc
  533. abstract class $LocationListCopyWith<$Res> {
  534. factory $LocationListCopyWith(
  535. LocationList value,
  536. $Res Function(LocationList) then,
  537. ) = _$LocationListCopyWithImpl<$Res, LocationList>;
  538. @useResult
  539. $Res call({
  540. int? id,
  541. String? name,
  542. String? icon,
  543. int? tag,
  544. List<Locations>? locations,
  545. });
  546. }
  547. /// @nodoc
  548. class _$LocationListCopyWithImpl<$Res, $Val extends LocationList>
  549. implements $LocationListCopyWith<$Res> {
  550. _$LocationListCopyWithImpl(this._value, this._then);
  551. // ignore: unused_field
  552. final $Val _value;
  553. // ignore: unused_field
  554. final $Res Function($Val) _then;
  555. /// Create a copy of LocationList
  556. /// with the given fields replaced by the non-null parameter values.
  557. @pragma('vm:prefer-inline')
  558. @override
  559. $Res call({
  560. Object? id = freezed,
  561. Object? name = freezed,
  562. Object? icon = freezed,
  563. Object? tag = freezed,
  564. Object? locations = freezed,
  565. }) {
  566. return _then(
  567. _value.copyWith(
  568. id: freezed == id
  569. ? _value.id
  570. : id // ignore: cast_nullable_to_non_nullable
  571. as int?,
  572. name: freezed == name
  573. ? _value.name
  574. : name // ignore: cast_nullable_to_non_nullable
  575. as String?,
  576. icon: freezed == icon
  577. ? _value.icon
  578. : icon // ignore: cast_nullable_to_non_nullable
  579. as String?,
  580. tag: freezed == tag
  581. ? _value.tag
  582. : tag // ignore: cast_nullable_to_non_nullable
  583. as int?,
  584. locations: freezed == locations
  585. ? _value.locations
  586. : locations // ignore: cast_nullable_to_non_nullable
  587. as List<Locations>?,
  588. )
  589. as $Val,
  590. );
  591. }
  592. }
  593. /// @nodoc
  594. abstract class _$$LocationListImplCopyWith<$Res>
  595. implements $LocationListCopyWith<$Res> {
  596. factory _$$LocationListImplCopyWith(
  597. _$LocationListImpl value,
  598. $Res Function(_$LocationListImpl) then,
  599. ) = __$$LocationListImplCopyWithImpl<$Res>;
  600. @override
  601. @useResult
  602. $Res call({
  603. int? id,
  604. String? name,
  605. String? icon,
  606. int? tag,
  607. List<Locations>? locations,
  608. });
  609. }
  610. /// @nodoc
  611. class __$$LocationListImplCopyWithImpl<$Res>
  612. extends _$LocationListCopyWithImpl<$Res, _$LocationListImpl>
  613. implements _$$LocationListImplCopyWith<$Res> {
  614. __$$LocationListImplCopyWithImpl(
  615. _$LocationListImpl _value,
  616. $Res Function(_$LocationListImpl) _then,
  617. ) : super(_value, _then);
  618. /// Create a copy of LocationList
  619. /// with the given fields replaced by the non-null parameter values.
  620. @pragma('vm:prefer-inline')
  621. @override
  622. $Res call({
  623. Object? id = freezed,
  624. Object? name = freezed,
  625. Object? icon = freezed,
  626. Object? tag = freezed,
  627. Object? locations = freezed,
  628. }) {
  629. return _then(
  630. _$LocationListImpl(
  631. id: freezed == id
  632. ? _value.id
  633. : id // ignore: cast_nullable_to_non_nullable
  634. as int?,
  635. name: freezed == name
  636. ? _value.name
  637. : name // ignore: cast_nullable_to_non_nullable
  638. as String?,
  639. icon: freezed == icon
  640. ? _value.icon
  641. : icon // ignore: cast_nullable_to_non_nullable
  642. as String?,
  643. tag: freezed == tag
  644. ? _value.tag
  645. : tag // ignore: cast_nullable_to_non_nullable
  646. as int?,
  647. locations: freezed == locations
  648. ? _value._locations
  649. : locations // ignore: cast_nullable_to_non_nullable
  650. as List<Locations>?,
  651. ),
  652. );
  653. }
  654. }
  655. /// @nodoc
  656. @JsonSerializable()
  657. class _$LocationListImpl with DiagnosticableTreeMixin implements _LocationList {
  658. const _$LocationListImpl({
  659. this.id,
  660. this.name,
  661. this.icon,
  662. this.tag,
  663. final List<Locations>? locations,
  664. }) : _locations = locations;
  665. factory _$LocationListImpl.fromJson(Map<String, dynamic> json) =>
  666. _$$LocationListImplFromJson(json);
  667. @override
  668. final int? id;
  669. @override
  670. final String? name;
  671. @override
  672. final String? icon;
  673. @override
  674. final int? tag;
  675. final List<Locations>? _locations;
  676. @override
  677. List<Locations>? get locations {
  678. final value = _locations;
  679. if (value == null) return null;
  680. if (_locations is EqualUnmodifiableListView) return _locations;
  681. // ignore: implicit_dynamic_type
  682. return EqualUnmodifiableListView(value);
  683. }
  684. @override
  685. String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) {
  686. return 'LocationList(id: $id, name: $name, icon: $icon, tag: $tag, locations: $locations)';
  687. }
  688. @override
  689. void debugFillProperties(DiagnosticPropertiesBuilder properties) {
  690. super.debugFillProperties(properties);
  691. properties
  692. ..add(DiagnosticsProperty('type', 'LocationList'))
  693. ..add(DiagnosticsProperty('id', id))
  694. ..add(DiagnosticsProperty('name', name))
  695. ..add(DiagnosticsProperty('icon', icon))
  696. ..add(DiagnosticsProperty('tag', tag))
  697. ..add(DiagnosticsProperty('locations', locations));
  698. }
  699. @override
  700. bool operator ==(Object other) {
  701. return identical(this, other) ||
  702. (other.runtimeType == runtimeType &&
  703. other is _$LocationListImpl &&
  704. (identical(other.id, id) || other.id == id) &&
  705. (identical(other.name, name) || other.name == name) &&
  706. (identical(other.icon, icon) || other.icon == icon) &&
  707. (identical(other.tag, tag) || other.tag == tag) &&
  708. const DeepCollectionEquality().equals(
  709. other._locations,
  710. _locations,
  711. ));
  712. }
  713. @JsonKey(includeFromJson: false, includeToJson: false)
  714. @override
  715. int get hashCode => Object.hash(
  716. runtimeType,
  717. id,
  718. name,
  719. icon,
  720. tag,
  721. const DeepCollectionEquality().hash(_locations),
  722. );
  723. /// Create a copy of LocationList
  724. /// with the given fields replaced by the non-null parameter values.
  725. @JsonKey(includeFromJson: false, includeToJson: false)
  726. @override
  727. @pragma('vm:prefer-inline')
  728. _$$LocationListImplCopyWith<_$LocationListImpl> get copyWith =>
  729. __$$LocationListImplCopyWithImpl<_$LocationListImpl>(this, _$identity);
  730. @override
  731. Map<String, dynamic> toJson() {
  732. return _$$LocationListImplToJson(this);
  733. }
  734. }
  735. abstract class _LocationList implements LocationList {
  736. const factory _LocationList({
  737. final int? id,
  738. final String? name,
  739. final String? icon,
  740. final int? tag,
  741. final List<Locations>? locations,
  742. }) = _$LocationListImpl;
  743. factory _LocationList.fromJson(Map<String, dynamic> json) =
  744. _$LocationListImpl.fromJson;
  745. @override
  746. int? get id;
  747. @override
  748. String? get name;
  749. @override
  750. String? get icon;
  751. @override
  752. int? get tag;
  753. @override
  754. List<Locations>? get locations;
  755. /// Create a copy of LocationList
  756. /// with the given fields replaced by the non-null parameter values.
  757. @override
  758. @JsonKey(includeFromJson: false, includeToJson: false)
  759. _$$LocationListImplCopyWith<_$LocationListImpl> get copyWith =>
  760. throw _privateConstructorUsedError;
  761. }
  762. Locations _$LocationsFromJson(Map<String, dynamic> json) {
  763. return _Locations.fromJson(json);
  764. }
  765. /// @nodoc
  766. mixin _$Locations {
  767. int? get id => throw _privateConstructorUsedError;
  768. String? get name => throw _privateConstructorUsedError;
  769. String? get code => throw _privateConstructorUsedError;
  770. Param? get param => throw _privateConstructorUsedError;
  771. dynamic get paramV2 => throw _privateConstructorUsedError;
  772. String? get icon => throw _privateConstructorUsedError;
  773. String? get country => throw _privateConstructorUsedError;
  774. int? get sort => throw _privateConstructorUsedError;
  775. int? get latency => throw _privateConstructorUsedError;
  776. /// Serializes this Locations to a JSON map.
  777. Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
  778. /// Create a copy of Locations
  779. /// with the given fields replaced by the non-null parameter values.
  780. @JsonKey(includeFromJson: false, includeToJson: false)
  781. $LocationsCopyWith<Locations> get copyWith =>
  782. throw _privateConstructorUsedError;
  783. }
  784. /// @nodoc
  785. abstract class $LocationsCopyWith<$Res> {
  786. factory $LocationsCopyWith(Locations value, $Res Function(Locations) then) =
  787. _$LocationsCopyWithImpl<$Res, Locations>;
  788. @useResult
  789. $Res call({
  790. int? id,
  791. String? name,
  792. String? code,
  793. Param? param,
  794. dynamic paramV2,
  795. String? icon,
  796. String? country,
  797. int? sort,
  798. int? latency,
  799. });
  800. $ParamCopyWith<$Res>? get param;
  801. }
  802. /// @nodoc
  803. class _$LocationsCopyWithImpl<$Res, $Val extends Locations>
  804. implements $LocationsCopyWith<$Res> {
  805. _$LocationsCopyWithImpl(this._value, this._then);
  806. // ignore: unused_field
  807. final $Val _value;
  808. // ignore: unused_field
  809. final $Res Function($Val) _then;
  810. /// Create a copy of Locations
  811. /// with the given fields replaced by the non-null parameter values.
  812. @pragma('vm:prefer-inline')
  813. @override
  814. $Res call({
  815. Object? id = freezed,
  816. Object? name = freezed,
  817. Object? code = freezed,
  818. Object? param = freezed,
  819. Object? paramV2 = freezed,
  820. Object? icon = freezed,
  821. Object? country = freezed,
  822. Object? sort = freezed,
  823. Object? latency = freezed,
  824. }) {
  825. return _then(
  826. _value.copyWith(
  827. id: freezed == id
  828. ? _value.id
  829. : id // ignore: cast_nullable_to_non_nullable
  830. as int?,
  831. name: freezed == name
  832. ? _value.name
  833. : name // ignore: cast_nullable_to_non_nullable
  834. as String?,
  835. code: freezed == code
  836. ? _value.code
  837. : code // ignore: cast_nullable_to_non_nullable
  838. as String?,
  839. param: freezed == param
  840. ? _value.param
  841. : param // ignore: cast_nullable_to_non_nullable
  842. as Param?,
  843. paramV2: freezed == paramV2
  844. ? _value.paramV2
  845. : paramV2 // ignore: cast_nullable_to_non_nullable
  846. as dynamic,
  847. icon: freezed == icon
  848. ? _value.icon
  849. : icon // ignore: cast_nullable_to_non_nullable
  850. as String?,
  851. country: freezed == country
  852. ? _value.country
  853. : country // ignore: cast_nullable_to_non_nullable
  854. as String?,
  855. sort: freezed == sort
  856. ? _value.sort
  857. : sort // ignore: cast_nullable_to_non_nullable
  858. as int?,
  859. latency: freezed == latency
  860. ? _value.latency
  861. : latency // ignore: cast_nullable_to_non_nullable
  862. as int?,
  863. )
  864. as $Val,
  865. );
  866. }
  867. /// Create a copy of Locations
  868. /// with the given fields replaced by the non-null parameter values.
  869. @override
  870. @pragma('vm:prefer-inline')
  871. $ParamCopyWith<$Res>? get param {
  872. if (_value.param == null) {
  873. return null;
  874. }
  875. return $ParamCopyWith<$Res>(_value.param!, (value) {
  876. return _then(_value.copyWith(param: value) as $Val);
  877. });
  878. }
  879. }
  880. /// @nodoc
  881. abstract class _$$LocationsImplCopyWith<$Res>
  882. implements $LocationsCopyWith<$Res> {
  883. factory _$$LocationsImplCopyWith(
  884. _$LocationsImpl value,
  885. $Res Function(_$LocationsImpl) then,
  886. ) = __$$LocationsImplCopyWithImpl<$Res>;
  887. @override
  888. @useResult
  889. $Res call({
  890. int? id,
  891. String? name,
  892. String? code,
  893. Param? param,
  894. dynamic paramV2,
  895. String? icon,
  896. String? country,
  897. int? sort,
  898. int? latency,
  899. });
  900. @override
  901. $ParamCopyWith<$Res>? get param;
  902. }
  903. /// @nodoc
  904. class __$$LocationsImplCopyWithImpl<$Res>
  905. extends _$LocationsCopyWithImpl<$Res, _$LocationsImpl>
  906. implements _$$LocationsImplCopyWith<$Res> {
  907. __$$LocationsImplCopyWithImpl(
  908. _$LocationsImpl _value,
  909. $Res Function(_$LocationsImpl) _then,
  910. ) : super(_value, _then);
  911. /// Create a copy of Locations
  912. /// with the given fields replaced by the non-null parameter values.
  913. @pragma('vm:prefer-inline')
  914. @override
  915. $Res call({
  916. Object? id = freezed,
  917. Object? name = freezed,
  918. Object? code = freezed,
  919. Object? param = freezed,
  920. Object? paramV2 = freezed,
  921. Object? icon = freezed,
  922. Object? country = freezed,
  923. Object? sort = freezed,
  924. Object? latency = freezed,
  925. }) {
  926. return _then(
  927. _$LocationsImpl(
  928. id: freezed == id
  929. ? _value.id
  930. : id // ignore: cast_nullable_to_non_nullable
  931. as int?,
  932. name: freezed == name
  933. ? _value.name
  934. : name // ignore: cast_nullable_to_non_nullable
  935. as String?,
  936. code: freezed == code
  937. ? _value.code
  938. : code // ignore: cast_nullable_to_non_nullable
  939. as String?,
  940. param: freezed == param
  941. ? _value.param
  942. : param // ignore: cast_nullable_to_non_nullable
  943. as Param?,
  944. paramV2: freezed == paramV2
  945. ? _value.paramV2
  946. : paramV2 // ignore: cast_nullable_to_non_nullable
  947. as dynamic,
  948. icon: freezed == icon
  949. ? _value.icon
  950. : icon // ignore: cast_nullable_to_non_nullable
  951. as String?,
  952. country: freezed == country
  953. ? _value.country
  954. : country // ignore: cast_nullable_to_non_nullable
  955. as String?,
  956. sort: freezed == sort
  957. ? _value.sort
  958. : sort // ignore: cast_nullable_to_non_nullable
  959. as int?,
  960. latency: freezed == latency
  961. ? _value.latency
  962. : latency // ignore: cast_nullable_to_non_nullable
  963. as int?,
  964. ),
  965. );
  966. }
  967. }
  968. /// @nodoc
  969. @JsonSerializable()
  970. class _$LocationsImpl with DiagnosticableTreeMixin implements _Locations {
  971. const _$LocationsImpl({
  972. this.id,
  973. this.name,
  974. this.code,
  975. this.param,
  976. this.paramV2,
  977. this.icon,
  978. this.country,
  979. this.sort,
  980. this.latency,
  981. });
  982. factory _$LocationsImpl.fromJson(Map<String, dynamic> json) =>
  983. _$$LocationsImplFromJson(json);
  984. @override
  985. final int? id;
  986. @override
  987. final String? name;
  988. @override
  989. final String? code;
  990. @override
  991. final Param? param;
  992. @override
  993. final dynamic paramV2;
  994. @override
  995. final String? icon;
  996. @override
  997. final String? country;
  998. @override
  999. final int? sort;
  1000. @override
  1001. final int? latency;
  1002. @override
  1003. String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) {
  1004. return 'Locations(id: $id, name: $name, code: $code, param: $param, paramV2: $paramV2, icon: $icon, country: $country, sort: $sort, latency: $latency)';
  1005. }
  1006. @override
  1007. void debugFillProperties(DiagnosticPropertiesBuilder properties) {
  1008. super.debugFillProperties(properties);
  1009. properties
  1010. ..add(DiagnosticsProperty('type', 'Locations'))
  1011. ..add(DiagnosticsProperty('id', id))
  1012. ..add(DiagnosticsProperty('name', name))
  1013. ..add(DiagnosticsProperty('code', code))
  1014. ..add(DiagnosticsProperty('param', param))
  1015. ..add(DiagnosticsProperty('paramV2', paramV2))
  1016. ..add(DiagnosticsProperty('icon', icon))
  1017. ..add(DiagnosticsProperty('country', country))
  1018. ..add(DiagnosticsProperty('sort', sort))
  1019. ..add(DiagnosticsProperty('latency', latency));
  1020. }
  1021. @override
  1022. bool operator ==(Object other) {
  1023. return identical(this, other) ||
  1024. (other.runtimeType == runtimeType &&
  1025. other is _$LocationsImpl &&
  1026. (identical(other.id, id) || other.id == id) &&
  1027. (identical(other.name, name) || other.name == name) &&
  1028. (identical(other.code, code) || other.code == code) &&
  1029. (identical(other.param, param) || other.param == param) &&
  1030. const DeepCollectionEquality().equals(other.paramV2, paramV2) &&
  1031. (identical(other.icon, icon) || other.icon == icon) &&
  1032. (identical(other.country, country) || other.country == country) &&
  1033. (identical(other.sort, sort) || other.sort == sort) &&
  1034. (identical(other.latency, latency) || other.latency == latency));
  1035. }
  1036. @JsonKey(includeFromJson: false, includeToJson: false)
  1037. @override
  1038. int get hashCode => Object.hash(
  1039. runtimeType,
  1040. id,
  1041. name,
  1042. code,
  1043. param,
  1044. const DeepCollectionEquality().hash(paramV2),
  1045. icon,
  1046. country,
  1047. sort,
  1048. latency,
  1049. );
  1050. /// Create a copy of Locations
  1051. /// with the given fields replaced by the non-null parameter values.
  1052. @JsonKey(includeFromJson: false, includeToJson: false)
  1053. @override
  1054. @pragma('vm:prefer-inline')
  1055. _$$LocationsImplCopyWith<_$LocationsImpl> get copyWith =>
  1056. __$$LocationsImplCopyWithImpl<_$LocationsImpl>(this, _$identity);
  1057. @override
  1058. Map<String, dynamic> toJson() {
  1059. return _$$LocationsImplToJson(this);
  1060. }
  1061. }
  1062. abstract class _Locations implements Locations {
  1063. const factory _Locations({
  1064. final int? id,
  1065. final String? name,
  1066. final String? code,
  1067. final Param? param,
  1068. final dynamic paramV2,
  1069. final String? icon,
  1070. final String? country,
  1071. final int? sort,
  1072. final int? latency,
  1073. }) = _$LocationsImpl;
  1074. factory _Locations.fromJson(Map<String, dynamic> json) =
  1075. _$LocationsImpl.fromJson;
  1076. @override
  1077. int? get id;
  1078. @override
  1079. String? get name;
  1080. @override
  1081. String? get code;
  1082. @override
  1083. Param? get param;
  1084. @override
  1085. dynamic get paramV2;
  1086. @override
  1087. String? get icon;
  1088. @override
  1089. String? get country;
  1090. @override
  1091. int? get sort;
  1092. @override
  1093. int? get latency;
  1094. /// Create a copy of Locations
  1095. /// with the given fields replaced by the non-null parameter values.
  1096. @override
  1097. @JsonKey(includeFromJson: false, includeToJson: false)
  1098. _$$LocationsImplCopyWith<_$LocationsImpl> get copyWith =>
  1099. throw _privateConstructorUsedError;
  1100. }
  1101. Param _$ParamFromJson(Map<String, dynamic> json) {
  1102. return _Param.fromJson(json);
  1103. }
  1104. /// @nodoc
  1105. mixin _$Param {
  1106. String? get g => throw _privateConstructorUsedError;
  1107. /// Serializes this Param to a JSON map.
  1108. Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
  1109. /// Create a copy of Param
  1110. /// with the given fields replaced by the non-null parameter values.
  1111. @JsonKey(includeFromJson: false, includeToJson: false)
  1112. $ParamCopyWith<Param> get copyWith => throw _privateConstructorUsedError;
  1113. }
  1114. /// @nodoc
  1115. abstract class $ParamCopyWith<$Res> {
  1116. factory $ParamCopyWith(Param value, $Res Function(Param) then) =
  1117. _$ParamCopyWithImpl<$Res, Param>;
  1118. @useResult
  1119. $Res call({String? g});
  1120. }
  1121. /// @nodoc
  1122. class _$ParamCopyWithImpl<$Res, $Val extends Param>
  1123. implements $ParamCopyWith<$Res> {
  1124. _$ParamCopyWithImpl(this._value, this._then);
  1125. // ignore: unused_field
  1126. final $Val _value;
  1127. // ignore: unused_field
  1128. final $Res Function($Val) _then;
  1129. /// Create a copy of Param
  1130. /// with the given fields replaced by the non-null parameter values.
  1131. @pragma('vm:prefer-inline')
  1132. @override
  1133. $Res call({Object? g = freezed}) {
  1134. return _then(
  1135. _value.copyWith(
  1136. g: freezed == g
  1137. ? _value.g
  1138. : g // ignore: cast_nullable_to_non_nullable
  1139. as String?,
  1140. )
  1141. as $Val,
  1142. );
  1143. }
  1144. }
  1145. /// @nodoc
  1146. abstract class _$$ParamImplCopyWith<$Res> implements $ParamCopyWith<$Res> {
  1147. factory _$$ParamImplCopyWith(
  1148. _$ParamImpl value,
  1149. $Res Function(_$ParamImpl) then,
  1150. ) = __$$ParamImplCopyWithImpl<$Res>;
  1151. @override
  1152. @useResult
  1153. $Res call({String? g});
  1154. }
  1155. /// @nodoc
  1156. class __$$ParamImplCopyWithImpl<$Res>
  1157. extends _$ParamCopyWithImpl<$Res, _$ParamImpl>
  1158. implements _$$ParamImplCopyWith<$Res> {
  1159. __$$ParamImplCopyWithImpl(
  1160. _$ParamImpl _value,
  1161. $Res Function(_$ParamImpl) _then,
  1162. ) : super(_value, _then);
  1163. /// Create a copy of Param
  1164. /// with the given fields replaced by the non-null parameter values.
  1165. @pragma('vm:prefer-inline')
  1166. @override
  1167. $Res call({Object? g = freezed}) {
  1168. return _then(
  1169. _$ParamImpl(
  1170. g: freezed == g
  1171. ? _value.g
  1172. : g // ignore: cast_nullable_to_non_nullable
  1173. as String?,
  1174. ),
  1175. );
  1176. }
  1177. }
  1178. /// @nodoc
  1179. @JsonSerializable()
  1180. class _$ParamImpl with DiagnosticableTreeMixin implements _Param {
  1181. const _$ParamImpl({this.g});
  1182. factory _$ParamImpl.fromJson(Map<String, dynamic> json) =>
  1183. _$$ParamImplFromJson(json);
  1184. @override
  1185. final String? g;
  1186. @override
  1187. String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) {
  1188. return 'Param(g: $g)';
  1189. }
  1190. @override
  1191. void debugFillProperties(DiagnosticPropertiesBuilder properties) {
  1192. super.debugFillProperties(properties);
  1193. properties
  1194. ..add(DiagnosticsProperty('type', 'Param'))
  1195. ..add(DiagnosticsProperty('g', g));
  1196. }
  1197. @override
  1198. bool operator ==(Object other) {
  1199. return identical(this, other) ||
  1200. (other.runtimeType == runtimeType &&
  1201. other is _$ParamImpl &&
  1202. (identical(other.g, g) || other.g == g));
  1203. }
  1204. @JsonKey(includeFromJson: false, includeToJson: false)
  1205. @override
  1206. int get hashCode => Object.hash(runtimeType, g);
  1207. /// Create a copy of Param
  1208. /// with the given fields replaced by the non-null parameter values.
  1209. @JsonKey(includeFromJson: false, includeToJson: false)
  1210. @override
  1211. @pragma('vm:prefer-inline')
  1212. _$$ParamImplCopyWith<_$ParamImpl> get copyWith =>
  1213. __$$ParamImplCopyWithImpl<_$ParamImpl>(this, _$identity);
  1214. @override
  1215. Map<String, dynamic> toJson() {
  1216. return _$$ParamImplToJson(this);
  1217. }
  1218. }
  1219. abstract class _Param implements Param {
  1220. const factory _Param({final String? g}) = _$ParamImpl;
  1221. factory _Param.fromJson(Map<String, dynamic> json) = _$ParamImpl.fromJson;
  1222. @override
  1223. String? get g;
  1224. /// Create a copy of Param
  1225. /// with the given fields replaced by the non-null parameter values.
  1226. @override
  1227. @JsonKey(includeFromJson: false, includeToJson: false)
  1228. _$$ParamImplCopyWith<_$ParamImpl> get copyWith =>
  1229. throw _privateConstructorUsedError;
  1230. }