@@ -56,6 +56,9 @@ class SetonixConfigMapper extends ClassMapperBase<SetonixConfig> {
56
56
static String ? _$endpointSecret (SetonixConfig v) => v.endpointSecret;
57
57
static const Field <SetonixConfig , String > _f$endpointSecret =
58
58
Field ('endpointSecret' , _$endpointSecret, opt: true );
59
+ static String ? _$gameMode (SetonixConfig v) => v.gameMode;
60
+ static const Field <SetonixConfig , String > _f$gameMode =
61
+ Field ('gameMode' , _$gameMode, opt: true );
59
62
60
63
@override
61
64
final MappableFields <SetonixConfig > fields = const {
@@ -71,6 +74,7 @@ class SetonixConfigMapper extends ClassMapperBase<SetonixConfig> {
71
74
#accountRequired: _f$accountRequired,
72
75
#apiEndpoint: _f$apiEndpoint,
73
76
#endpointSecret: _f$endpointSecret,
77
+ #gameMode: _f$gameMode,
74
78
};
75
79
76
80
static SetonixConfig _instantiate (DecodingData data) {
@@ -86,7 +90,8 @@ class SetonixConfigMapper extends ClassMapperBase<SetonixConfig> {
86
90
whitelistEnabled: data.dec (_f$whitelistEnabled),
87
91
accountRequired: data.dec (_f$accountRequired),
88
92
apiEndpoint: data.dec (_f$apiEndpoint),
89
- endpointSecret: data.dec (_f$endpointSecret));
93
+ endpointSecret: data.dec (_f$endpointSecret),
94
+ gameMode: data.dec (_f$gameMode));
90
95
}
91
96
92
97
@override
@@ -154,7 +159,8 @@ abstract class SetonixConfigCopyWith<$R, $In extends SetonixConfig, $Out>
154
159
bool ? whitelistEnabled,
155
160
bool ? accountRequired,
156
161
String ? apiEndpoint,
157
- String ? endpointSecret});
162
+ String ? endpointSecret,
163
+ String ? gameMode});
158
164
SetonixConfigCopyWith <$R2 , $In , $Out2 > $chain <$R2 , $Out2 >(Then <$Out2 , $R2 > t);
159
165
}
160
166
@@ -179,7 +185,8 @@ class _SetonixConfigCopyWithImpl<$R, $Out>
179
185
Object ? whitelistEnabled = $none,
180
186
Object ? accountRequired = $none,
181
187
Object ? apiEndpoint = $none,
182
- Object ? endpointSecret = $none}) =>
188
+ Object ? endpointSecret = $none,
189
+ Object ? gameMode = $none}) =>
183
190
$apply (FieldCopyWithData ({
184
191
if (host != $none) #host: host,
185
192
if (port != $none) #port: port,
@@ -192,7 +199,8 @@ class _SetonixConfigCopyWithImpl<$R, $Out>
192
199
if (whitelistEnabled != $none) #whitelistEnabled: whitelistEnabled,
193
200
if (accountRequired != $none) #accountRequired: accountRequired,
194
201
if (apiEndpoint != $none) #apiEndpoint: apiEndpoint,
195
- if (endpointSecret != $none) #endpointSecret: endpointSecret
202
+ if (endpointSecret != $none) #endpointSecret: endpointSecret,
203
+ if (gameMode != $none) #gameMode: gameMode
196
204
}));
197
205
@override
198
206
SetonixConfig $make (CopyWithData data) => SetonixConfig (
@@ -208,7 +216,8 @@ class _SetonixConfigCopyWithImpl<$R, $Out>
208
216
data.get (#whitelistEnabled, or: $value.whitelistEnabled),
209
217
accountRequired: data.get (#accountRequired, or: $value.accountRequired),
210
218
apiEndpoint: data.get (#apiEndpoint, or: $value.apiEndpoint),
211
- endpointSecret: data.get (#endpointSecret, or: $value.endpointSecret));
219
+ endpointSecret: data.get (#endpointSecret, or: $value.endpointSecret),
220
+ gameMode: data.get (#gameMode, or: $value.gameMode));
212
221
213
222
@override
214
223
SetonixConfigCopyWith <$R2 , SetonixConfig , $Out2 > $chain <$R2 , $Out2 >(
0 commit comments