@@ -173,22 +173,6 @@ class ApiNarrowPmWith extends ApiNarrowDm {
173
173
ApiNarrowPmWith ._(super .operand, {super .negated});
174
174
}
175
175
176
- /// An [ApiNarrowElement] with the 'with' operator.
177
- ///
178
- /// If part of [ApiNarrow] use [resolveApiNarrowForServer] .
179
- class ApiNarrowWith extends ApiNarrowElement {
180
- @override String get operator => 'with' ;
181
-
182
- @override final int operand;
183
-
184
- ApiNarrowWith (this .operand, {super .negated});
185
-
186
- factory ApiNarrowWith .fromJson (Map <String , dynamic > json) => ApiNarrowWith (
187
- json['operand' ] as int ,
188
- negated: json['negated' ] as bool ? ?? false ,
189
- );
190
- }
191
-
192
176
class ApiNarrowIs extends ApiNarrowElement {
193
177
@override String get operator => 'is' ;
194
178
@@ -229,6 +213,22 @@ enum IsOperand {
229
213
String toJson () => toString ();
230
214
}
231
215
216
+ /// An [ApiNarrowElement] with the 'with' operator.
217
+ ///
218
+ /// If part of [ApiNarrow] use [resolveApiNarrowForServer] .
219
+ class ApiNarrowWith extends ApiNarrowElement {
220
+ @override String get operator => 'with' ;
221
+
222
+ @override final int operand;
223
+
224
+ ApiNarrowWith (this .operand, {super .negated});
225
+
226
+ factory ApiNarrowWith .fromJson (Map <String , dynamic > json) => ApiNarrowWith (
227
+ json['operand' ] as int ,
228
+ negated: json['negated' ] as bool ? ?? false ,
229
+ );
230
+ }
231
+
232
232
class ApiNarrowMessageId extends ApiNarrowElement {
233
233
@override String get operator => 'id' ;
234
234
0 commit comments