@@ -11,11 +11,11 @@ class Query {
1111 Map <String , dynamic > toJson () {
1212 final map = < String , dynamic > {'method' : method};
1313
14- if (attribute != null ) {
14+ if (attribute != null ) {
1515 map['attribute' ] = attribute;
1616 }
17-
18- if (values != null ) {
17+
18+ if (values != null ) {
1919 map['values' ] = values is List ? values : [values];
2020 }
2121
@@ -26,7 +26,7 @@ class Query {
2626 String toString () => jsonEncode (toJson ());
2727
2828 /// Filter resources where [attribute] is equal to [value] .
29- ///
29+ ///
3030 /// [value] can be a single value or a list. If a list is used
3131 /// the query will return resources where [attribute] is equal
3232 /// to any of the values in the list.
@@ -144,14 +144,14 @@ class Query {
144144 Query ._('orderDesc' , attribute).toString ();
145145
146146 /// Return results before [id] .
147- ///
147+ ///
148148 /// Refer to the [Cursor Based Pagination] (https://appwrite.io/docs/pagination#cursor-pagination)
149149 /// docs for more information.
150150 static String cursorBefore (String id) =>
151151 Query ._('cursorBefore' , null , id).toString ();
152152
153153 /// Return results after [id] .
154- ///
154+ ///
155155 /// Refer to the [Cursor Based Pagination] (https://appwrite.io/docs/pagination#cursor-pagination)
156156 /// docs for more information.
157157 static String cursorAfter (String id) =>
@@ -161,9 +161,9 @@ class Query {
161161 static String limit (int limit) => Query ._('limit' , null , limit).toString ();
162162
163163 /// Return results from [offset] .
164- ///
164+ ///
165165 /// Refer to the [Offset Pagination] (https://appwrite.io/docs/pagination#offset-pagination)
166166 /// docs for more information.
167167 static String offset (int offset) =>
168168 Query ._('offset' , null , offset).toString ();
169- }
169+ }
0 commit comments