QuerySnapshot<T extends Object?> class Null safety

Contains the results of a query. It can contain zero or more DocumentSnapshot objects.

Constructors

QuerySnapshot()

Properties

docChanges List<DocumentChange<T>>
An array of the documents that changed since the last snapshot. If this is the first snapshot, all documents will be in the list as Added changes.
read-only
docs List<QueryDocumentSnapshot<T>>
Gets a list of all the documents included in this snapshot.
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
metadata SnapshotMetadata
Returns the SnapshotMetadata for this snapshot.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
size int
Returns the size (number of documents) of this snapshot.
read-only

Methods

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

Operators

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