groups.freezed.dart 39 KB

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