QuerySnapshot<T> class

A QuerySnapshot contains zero or more QueryDocumentSnapshot objects representing the results of a query.

The documents can be accessed as an array via the docs property.

Annotations
  • @immutable

Properties

docChanges List<DocumentChange<T>>
Returns a list of the documents changes since the last snapshot.
latefinal
docs List<QueryDocumentSnapshot<T>>
A list of all the documents in this QuerySnapshot.
final
hashCode int
The hash code for this object.
no setteroverride
query Query<T>
The query used in order to get this QuerySnapshot.
final
readTime Timestamp?
The time this query snapshot was obtained.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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