FSFilterable<T> class

An item that helps with filtering objects from Firestore queries.

Inheritance

Constructors

FSFilterable(Query<Object?> query, Type type)

Properties

hashCode int
The hash code for this object.
no setterinherited
query Query<Object?>
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type Type
no setterinherited

Methods

endAt(List fieldValues) FSFilterable<T>
Ends the query at a specific document where the field values provided are met.
endBefore(List fieldValues) FSFilterable<T>
Ends the query before a specific document where the field values provided are met.
fetch() Future<FSQueryResult<T>>
Fetches the results of the query.
limit(int limit) FSFilterable<T>
Limits the number of results.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
orderBy(String field, {bool descending = false}) FSFilterable<T>
Orders the query results by a field's value.
startAfter(List fieldValues) FSFilterable<T>
Starts the query after a specific document where the field values provided are met.
startAt(List fieldValues) FSFilterable<T>
Starts the query at a document where the field values provided are met.
stream() Stream<T>
Streams the results of the query as a stream of type T.
toString() String
A string representation of this object.
inherited
whereArrayContains(String field, dynamic value) FSFilterable<T>
Filters results by array field containing a value.
whereArrayContainsAny(String field, List values) FSFilterable<T>
Filters results by array field containing a value.
whereEqualTo(String field, dynamic value) FSFilterable<T>
Filters results by equality.
whereGreaterThan(String field, dynamic value) FSFilterable<T>
Filters results by value (greater than).
whereGreaterThanOrEqualTo(String field, dynamic value) FSFilterable<T>
Filters results by value (greater than or equal to).
whereIn(String field, List values) FSFilterable<T>
Filters results by array field containing any of the provided values.
whereLessThan(String field, dynamic value) FSFilterable<T>
Filters results by value (less than).
whereLessThanOrEqualTo(String field, dynamic value) FSFilterable<T>
Filters results by value (less than or equal to).
whereNotEqualTo(String field, dynamic value) FSFilterable<T>
Filters results by inequality.
whereNotIn(String field, List values) FSFilterable<T>
Filters by an array field NOT containing any of the provided values.

Operators

operator ==(Object other) bool
The equality operator.
inherited