ObservableQuery<T> class

Inheritance
Mixed-in types

Constructors

ObservableQuery(Collection<T> collection, {required List<FilterFn<T>> filters, required SortFn<T>? sort, required bool multicast})

Properties

collection Collection<T>
finalinherited
filters List<FilterFn<T>>
finalinherited
hashCode int
The hash code for this object.
no setterinherited
hasValue bool
Returns whether the observer has a cached value in the ObserverValueStore.
no setterinherited
multicast bool
Whether the Observable can have more than one observable subscription. A single-subscription observable will allow one listener and release its resources automatically when its listener cancels its subscription. A multicast observable must have its resources released manually by calling dispose. The term multicast is used to refer to a a multi-subscription observable since it is common observable terminology and the term broadcast is to mean something different in the library compared to its usage in the underlying Dart Stream implementation.
latefinalinherited
path String
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sort SortFn<T>?
finalinherited
value List<DocumentSnapshot<T>>?
getter/setter pairinherited

Methods

add(List<DocumentSnapshot<T>> updatedValue) List<DocumentSnapshot<T>>
inherited
dispose() → void
inherited
exists() bool
inherited
get() List<DocumentSnapshot<T>>
override
init(List<DocumentSnapshot<T>> initialValue, {required bool multicast}) → void
inherited
inspect() Map
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
observe({bool multicast = false}) ObservableQuery<T>
override
sortBy(SortFn<T> sort) Query<T>
inherited
stream() Stream<List<DocumentSnapshot<T>>>
inherited
streamChanges() Stream<List<DocumentChangeSnapshot<T>>>
inherited
toQuery() Query<T>
inherited
toString() String
A string representation of this object.
inherited
where(FilterFn<T> filter) Query<T>
inherited

Operators

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