@@ -74,7 +74,9 @@ mixin _$LoadParams<Key> {
74
74
}) =>
75
75
throw _privateConstructorUsedError;
76
76
77
- @JsonKey (ignore: true )
77
+ /// Create a copy of LoadParams
78
+ /// with the given fields replaced by the non-null parameter values.
79
+ @JsonKey (includeFromJson: false , includeToJson: false )
78
80
$LoadParamsCopyWith <Key , LoadParams <Key >> get copyWith =>
79
81
throw _privateConstructorUsedError;
80
82
}
@@ -98,6 +100,8 @@ class _$LoadParamsCopyWithImpl<Key, $Res, $Val extends LoadParams<Key>>
98
100
// ignore: unused_field
99
101
final $Res Function ($Val ) _then;
100
102
103
+ /// Create a copy of LoadParams
104
+ /// with the given fields replaced by the non-null parameter values.
101
105
@pragma ('vm:prefer-inline' )
102
106
@override
103
107
$Res call ({
@@ -131,6 +135,8 @@ class __$$RefreshImplCopyWithImpl<Key, $Res>
131
135
_$RefreshImpl <Key > _value, $Res Function (_$RefreshImpl <Key >) _then)
132
136
: super (_value, _then);
133
137
138
+ /// Create a copy of LoadParams
139
+ /// with the given fields replaced by the non-null parameter values.
134
140
@pragma ('vm:prefer-inline' )
135
141
@override
136
142
$Res call ({
@@ -199,7 +205,9 @@ class _$RefreshImpl<Key> with DiagnosticableTreeMixin implements Refresh<Key> {
199
205
int get hashCode => Object .hash (
200
206
runtimeType, const DeepCollectionEquality ().hash (key), loadSize);
201
207
202
- @JsonKey (ignore: true )
208
+ /// Create a copy of LoadParams
209
+ /// with the given fields replaced by the non-null parameter values.
210
+ @JsonKey (includeFromJson: false , includeToJson: false )
203
211
@override
204
212
@pragma ('vm:prefer-inline' )
205
213
_$$RefreshImplCopyWith <Key , _$RefreshImpl <Key >> get copyWith =>
@@ -278,8 +286,6 @@ abstract class Refresh<Key> implements LoadParams<Key> {
278
286
const factory Refresh ({final Key ? key, required final int loadSize}) =
279
287
_$RefreshImpl <Key >;
280
288
281
- @override
282
-
283
289
/// Key for the page to be loaded.
284
290
///
285
291
/// [key] can be `null` only if this [LoadParams] is [Refresh] , and either
@@ -291,11 +297,15 @@ abstract class Refresh<Key> implements LoadParams<Key> {
291
297
/// of the list.
292
298
/// * [Append] - [LoadResultPage.nextKey] of the loaded page at the end of
293
299
/// the list.
300
+ @override
294
301
Key ? get key;
295
302
@override
296
303
int get loadSize;
304
+
305
+ /// Create a copy of LoadParams
306
+ /// with the given fields replaced by the non-null parameter values.
297
307
@override
298
- @JsonKey (ignore : true )
308
+ @JsonKey (includeFromJson : false , includeToJson : false )
299
309
_$$RefreshImplCopyWith <Key , _$RefreshImpl <Key >> get copyWith =>
300
310
throw _privateConstructorUsedError;
301
311
}
@@ -319,6 +329,8 @@ class __$$AppendImplCopyWithImpl<Key, $Res>
319
329
_$AppendImpl <Key > _value, $Res Function (_$AppendImpl <Key >) _then)
320
330
: super (_value, _then);
321
331
332
+ /// Create a copy of LoadParams
333
+ /// with the given fields replaced by the non-null parameter values.
322
334
@pragma ('vm:prefer-inline' )
323
335
@override
324
336
$Res call ({
@@ -376,7 +388,9 @@ class _$AppendImpl<Key> with DiagnosticableTreeMixin implements Append<Key> {
376
388
int get hashCode => Object .hash (
377
389
runtimeType, const DeepCollectionEquality ().hash (key), loadSize);
378
390
379
- @JsonKey (ignore: true )
391
+ /// Create a copy of LoadParams
392
+ /// with the given fields replaced by the non-null parameter values.
393
+ @JsonKey (includeFromJson: false , includeToJson: false )
380
394
@override
381
395
@pragma ('vm:prefer-inline' )
382
396
_$$AppendImplCopyWith <Key , _$AppendImpl <Key >> get copyWith =>
@@ -459,8 +473,11 @@ abstract class Append<Key> implements LoadParams<Key> {
459
473
Key get key;
460
474
@override
461
475
int get loadSize;
476
+
477
+ /// Create a copy of LoadParams
478
+ /// with the given fields replaced by the non-null parameter values.
462
479
@override
463
- @JsonKey (ignore : true )
480
+ @JsonKey (includeFromJson : false , includeToJson : false )
464
481
_$$AppendImplCopyWith <Key , _$AppendImpl <Key >> get copyWith =>
465
482
throw _privateConstructorUsedError;
466
483
}
@@ -484,6 +501,8 @@ class __$$PrependImplCopyWithImpl<Key, $Res>
484
501
_$PrependImpl <Key > _value, $Res Function (_$PrependImpl <Key >) _then)
485
502
: super (_value, _then);
486
503
504
+ /// Create a copy of LoadParams
505
+ /// with the given fields replaced by the non-null parameter values.
487
506
@pragma ('vm:prefer-inline' )
488
507
@override
489
508
$Res call ({
@@ -541,7 +560,9 @@ class _$PrependImpl<Key> with DiagnosticableTreeMixin implements Prepend<Key> {
541
560
int get hashCode => Object .hash (
542
561
runtimeType, const DeepCollectionEquality ().hash (key), loadSize);
543
562
544
- @JsonKey (ignore: true )
563
+ /// Create a copy of LoadParams
564
+ /// with the given fields replaced by the non-null parameter values.
565
+ @JsonKey (includeFromJson: false , includeToJson: false )
545
566
@override
546
567
@pragma ('vm:prefer-inline' )
547
568
_$$PrependImplCopyWith <Key , _$PrependImpl <Key >> get copyWith =>
@@ -624,8 +645,11 @@ abstract class Prepend<Key> implements LoadParams<Key> {
624
645
Key get key;
625
646
@override
626
647
int get loadSize;
648
+
649
+ /// Create a copy of LoadParams
650
+ /// with the given fields replaced by the non-null parameter values.
627
651
@override
628
- @JsonKey (ignore : true )
652
+ @JsonKey (includeFromJson : false , includeToJson : false )
629
653
_$$PrependImplCopyWith <Key , _$PrependImpl <Key >> get copyWith =>
630
654
throw _privateConstructorUsedError;
631
655
}
@@ -690,6 +714,9 @@ class _$LoadResultCopyWithImpl<Key, Value, $Res,
690
714
final $Val _value;
691
715
// ignore: unused_field
692
716
final $Res Function ($Val ) _then;
717
+
718
+ /// Create a copy of LoadResult
719
+ /// with the given fields replaced by the non-null parameter values.
693
720
}
694
721
695
722
/// @nodoc
@@ -710,6 +737,8 @@ class __$$LoadResultPageImplCopyWithImpl<Key, Value, $Res>
710
737
$Res Function (_$LoadResultPageImpl <Key , Value >) _then)
711
738
: super (_value, _then);
712
739
740
+ /// Create a copy of LoadResult
741
+ /// with the given fields replaced by the non-null parameter values.
713
742
@pragma ('vm:prefer-inline' )
714
743
@override
715
744
$Res call ({
@@ -796,7 +825,9 @@ class _$LoadResultPageImpl<Key, Value>
796
825
const DeepCollectionEquality ().hash (prevKey),
797
826
const DeepCollectionEquality ().hash (nextKey));
798
827
799
- @JsonKey (ignore: true )
828
+ /// Create a copy of LoadResult
829
+ /// with the given fields replaced by the non-null parameter values.
830
+ @JsonKey (includeFromJson: false , includeToJson: false )
800
831
@override
801
832
@pragma ('vm:prefer-inline' )
802
833
_$$LoadResultPageImplCopyWith <Key , Value , _$LoadResultPageImpl <Key , Value >>
@@ -883,7 +914,10 @@ abstract class LoadResultPage<Key, Value> implements LoadResult<Key, Value> {
883
914
/// [Key] for next page if more items can be loaded in that direction,
884
915
/// `null` otherwise.
885
916
Key ? get nextKey;
886
- @JsonKey (ignore: true )
917
+
918
+ /// Create a copy of LoadResult
919
+ /// with the given fields replaced by the non-null parameter values.
920
+ @JsonKey (includeFromJson: false , includeToJson: false )
887
921
_$$LoadResultPageImplCopyWith <Key , Value , _$LoadResultPageImpl <Key , Value >>
888
922
get copyWith => throw _privateConstructorUsedError;
889
923
}
@@ -907,6 +941,8 @@ class __$$LoadResultErrorImplCopyWithImpl<Key, Value, $Res>
907
941
$Res Function (_$LoadResultErrorImpl <Key , Value >) _then)
908
942
: super (_value, _then);
909
943
944
+ /// Create a copy of LoadResult
945
+ /// with the given fields replaced by the non-null parameter values.
910
946
@pragma ('vm:prefer-inline' )
911
947
@override
912
948
$Res call ({
@@ -953,7 +989,9 @@ class _$LoadResultErrorImpl<Key, Value>
953
989
int get hashCode =>
954
990
Object .hash (runtimeType, const DeepCollectionEquality ().hash (error));
955
991
956
- @JsonKey (ignore: true )
992
+ /// Create a copy of LoadResult
993
+ /// with the given fields replaced by the non-null parameter values.
994
+ @JsonKey (includeFromJson: false , includeToJson: false )
957
995
@override
958
996
@pragma ('vm:prefer-inline' )
959
997
_$$LoadResultErrorImplCopyWith <Key , Value , _$LoadResultErrorImpl <Key , Value >>
@@ -1029,7 +1067,10 @@ abstract class LoadResultError<Key, Value> implements LoadResult<Key, Value> {
1029
1067
_$LoadResultErrorImpl <Key , Value >;
1030
1068
1031
1069
Object ? get error;
1032
- @JsonKey (ignore: true )
1070
+
1071
+ /// Create a copy of LoadResult
1072
+ /// with the given fields replaced by the non-null parameter values.
1073
+ @JsonKey (includeFromJson: false , includeToJson: false )
1033
1074
_$$LoadResultErrorImplCopyWith <Key , Value , _$LoadResultErrorImpl <Key , Value >>
1034
1075
get copyWith => throw _privateConstructorUsedError;
1035
1076
}
0 commit comments