@@ -160,26 +160,26 @@ class Query {
160160 between ('\$ updatedAt' , start, end);
161161
162162 static String or (List <String > queries) => Query ._(
163- 'or' ,
164- null ,
165- queries.map ((query) => jsonDecode (query)).toList (),
166- ).toString ();
163+ 'or' ,
164+ null ,
165+ queries.map ((query) => jsonDecode (query)).toList (),
166+ ).toString ();
167167
168168 static String and (List <String > queries) => Query ._(
169- 'and' ,
170- null ,
171- queries.map ((query) => jsonDecode (query)).toList (),
172- ).toString ();
169+ 'and' ,
170+ null ,
171+ queries.map ((query) => jsonDecode (query)).toList (),
172+ ).toString ();
173173
174174 /// Filter array elements where at least one element matches all the specified queries.
175175 ///
176176 /// [attribute] The attribute containing the array to filter on.
177177 /// [queries] The list of query strings to match against array elements.
178178 static String elemMatch (String attribute, List <String > queries) => Query ._(
179- 'elemMatch' ,
180- attribute,
181- queries.map ((query) => jsonDecode (query)).toList (),
182- ).toString ();
179+ 'elemMatch' ,
180+ attribute,
181+ queries.map ((query) => jsonDecode (query)).toList (),
182+ ).toString ();
183183
184184 /// Specify which attributes should be returned by the API call.
185185 static String select (List <String > attributes) =>
@@ -226,39 +226,43 @@ class Query {
226226 List <dynamic > values,
227227 num distance, [
228228 bool meters = true ,
229- ]) => Query ._('distanceEqual' , attribute, [
230- [values, distance, meters],
231- ]).toString ();
229+ ]) =>
230+ Query ._('distanceEqual' , attribute, [
231+ [values, distance, meters],
232+ ]).toString ();
232233
233234 /// Filter resources where [attribute] is not at a specific distance from the given coordinates.
234235 static String distanceNotEqual (
235236 String attribute,
236237 List <dynamic > values,
237238 num distance, [
238239 bool meters = true ,
239- ]) => Query ._('distanceNotEqual' , attribute, [
240- [values, distance, meters],
241- ]).toString ();
240+ ]) =>
241+ Query ._('distanceNotEqual' , attribute, [
242+ [values, distance, meters],
243+ ]).toString ();
242244
243245 /// Filter resources where [attribute] is at a distance greater than the specified value from the given coordinates.
244246 static String distanceGreaterThan (
245247 String attribute,
246248 List <dynamic > values,
247249 num distance, [
248250 bool meters = true ,
249- ]) => Query ._('distanceGreaterThan' , attribute, [
250- [values, distance, meters],
251- ]).toString ();
251+ ]) =>
252+ Query ._('distanceGreaterThan' , attribute, [
253+ [values, distance, meters],
254+ ]).toString ();
252255
253256 /// Filter resources where [attribute] is at a distance less than the specified value from the given coordinates.
254257 static String distanceLessThan (
255258 String attribute,
256259 List <dynamic > values,
257260 num distance, [
258261 bool meters = true ,
259- ]) => Query ._('distanceLessThan' , attribute, [
260- [values, distance, meters],
261- ]).toString ();
262+ ]) =>
263+ Query ._('distanceLessThan' , attribute, [
264+ [values, distance, meters],
265+ ]).toString ();
262266
263267 /// Filter resources where [attribute] intersects with the given geometry.
264268 static String intersects (String attribute, List <dynamic > values) =>
0 commit comments