@@ -17,10 +17,11 @@ final _privateConstructorUsedError = UnsupportedError(
17
17
class _$FreshTearOff {
18
18
const _$FreshTearOff ();
19
19
20
- _Fresh <T > call <T >({required T entity, required bool isFresh}) {
20
+ _Fresh <T > call <T >({required T entity, required bool isFresh, bool ? more }) {
21
21
return _Fresh <T >(
22
22
entity: entity,
23
23
isFresh: isFresh,
24
+ more: more,
24
25
);
25
26
}
26
27
}
@@ -32,6 +33,7 @@ const $Fresh = _$FreshTearOff();
32
33
mixin _$Fresh <T > {
33
34
T get entity => throw _privateConstructorUsedError;
34
35
bool get isFresh => throw _privateConstructorUsedError;
36
+ bool ? get more => throw _privateConstructorUsedError;
35
37
36
38
@JsonKey (ignore: true )
37
39
$FreshCopyWith <T , Fresh <T >> get copyWith =>
@@ -42,7 +44,7 @@ mixin _$Fresh<T> {
42
44
abstract class $FreshCopyWith <T , $Res > {
43
45
factory $FreshCopyWith (Fresh <T > value, $Res Function (Fresh <T >) then) =
44
46
_$FreshCopyWithImpl <T , $Res >;
45
- $Res call ({T entity, bool isFresh});
47
+ $Res call ({T entity, bool isFresh, bool ? more });
46
48
}
47
49
48
50
/// @nodoc
@@ -57,6 +59,7 @@ class _$FreshCopyWithImpl<T, $Res> implements $FreshCopyWith<T, $Res> {
57
59
$Res call ({
58
60
Object ? entity = freezed,
59
61
Object ? isFresh = freezed,
62
+ Object ? more = freezed,
60
63
}) {
61
64
return _then (_value.copyWith (
62
65
entity: entity == freezed
@@ -67,6 +70,10 @@ class _$FreshCopyWithImpl<T, $Res> implements $FreshCopyWith<T, $Res> {
67
70
? _value.isFresh
68
71
: isFresh // ignore: cast_nullable_to_non_nullable
69
72
as bool ,
73
+ more: more == freezed
74
+ ? _value.more
75
+ : more // ignore: cast_nullable_to_non_nullable
76
+ as bool ? ,
70
77
));
71
78
}
72
79
}
@@ -76,7 +83,7 @@ abstract class _$FreshCopyWith<T, $Res> implements $FreshCopyWith<T, $Res> {
76
83
factory _$FreshCopyWith (_Fresh <T > value, $Res Function (_Fresh <T >) then) =
77
84
__$FreshCopyWithImpl <T , $Res >;
78
85
@override
79
- $Res call ({T entity, bool isFresh});
86
+ $Res call ({T entity, bool isFresh, bool ? more });
80
87
}
81
88
82
89
/// @nodoc
@@ -92,6 +99,7 @@ class __$FreshCopyWithImpl<T, $Res> extends _$FreshCopyWithImpl<T, $Res>
92
99
$Res call ({
93
100
Object ? entity = freezed,
94
101
Object ? isFresh = freezed,
102
+ Object ? more = freezed,
95
103
}) {
96
104
return _then (_Fresh <T >(
97
105
entity: entity == freezed
@@ -102,23 +110,30 @@ class __$FreshCopyWithImpl<T, $Res> extends _$FreshCopyWithImpl<T, $Res>
102
110
? _value.isFresh
103
111
: isFresh // ignore: cast_nullable_to_non_nullable
104
112
as bool ,
113
+ more: more == freezed
114
+ ? _value.more
115
+ : more // ignore: cast_nullable_to_non_nullable
116
+ as bool ? ,
105
117
));
106
118
}
107
119
}
108
120
109
121
/// @nodoc
110
122
111
123
class _$_Fresh <T > extends _Fresh <T > {
112
- const _$_Fresh ({required this .entity, required this .isFresh}) : super ._();
124
+ const _$_Fresh ({required this .entity, required this .isFresh, this .more})
125
+ : super ._();
113
126
114
127
@override
115
128
final T entity;
116
129
@override
117
130
final bool isFresh;
131
+ @override
132
+ final bool ? more;
118
133
119
134
@override
120
135
String toString () {
121
- return 'Fresh<$T >(entity: $entity , isFresh: $isFresh )' ;
136
+ return 'Fresh<$T >(entity: $entity , isFresh: $isFresh , more: $ more )' ;
122
137
}
123
138
124
139
@override
@@ -128,14 +143,18 @@ class _$_Fresh<T> extends _Fresh<T> {
128
143
(identical (other.entity, entity) ||
129
144
const DeepCollectionEquality ().equals (other.entity, entity)) &&
130
145
(identical (other.isFresh, isFresh) ||
131
- const DeepCollectionEquality ().equals (other.isFresh, isFresh)));
146
+ const DeepCollectionEquality ()
147
+ .equals (other.isFresh, isFresh)) &&
148
+ (identical (other.more, more) ||
149
+ const DeepCollectionEquality ().equals (other.more, more)));
132
150
}
133
151
134
152
@override
135
153
int get hashCode =>
136
154
runtimeType.hashCode ^
137
155
const DeepCollectionEquality ().hash (entity) ^
138
- const DeepCollectionEquality ().hash (isFresh);
156
+ const DeepCollectionEquality ().hash (isFresh) ^
157
+ const DeepCollectionEquality ().hash (more);
139
158
140
159
@JsonKey (ignore: true )
141
160
@override
@@ -144,7 +163,7 @@ class _$_Fresh<T> extends _Fresh<T> {
144
163
}
145
164
146
165
abstract class _Fresh <T > extends Fresh <T > {
147
- const factory _Fresh ({required T entity, required bool isFresh}) =
166
+ const factory _Fresh ({required T entity, required bool isFresh, bool ? more }) =
148
167
_$_Fresh <T >;
149
168
const _Fresh ._() : super ._();
150
169
@@ -153,6 +172,8 @@ abstract class _Fresh<T> extends Fresh<T> {
153
172
@override
154
173
bool get isFresh => throw _privateConstructorUsedError;
155
174
@override
175
+ bool ? get more => throw _privateConstructorUsedError;
176
+ @override
156
177
@JsonKey (ignore: true )
157
178
_$FreshCopyWith <T , _Fresh <T >> get copyWith =>
158
179
throw _privateConstructorUsedError;
0 commit comments