QuerySnapshotPlatform class
A interface that contains zero or more DocumentSnapshotPlatform objects representing the results of a query.
The documents can be accessed as a list by calling docs()
and the number of documents
can be determined by calling size()
.
- Inheritance
-
- Object
- PlatformInterface
- QuerySnapshotPlatform
Constructors
-
QuerySnapshotPlatform(List<
DocumentSnapshotPlatform> docs, List<DocumentChangePlatform> docChanges, SnapshotMetadataPlatform metadata) - Create a QuerySnapshotPlatform
Properties
-
docChanges
→ List<
DocumentChangePlatform> -
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.
final
-
docs
→ List<
DocumentSnapshotPlatform> -
Gets a list of all the documents included in this QuerySnapshotPlatform
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- metadata → SnapshotMetadataPlatform
-
Metadata for the document
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int
-
The number of documents in this QuerySnapshotPlatform.
no setter
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.
inherited
Static Methods
-
verify(
QuerySnapshotPlatform instance) → void -
Throws an AssertionError if
instance
does not extend QuerySnapshotPlatform.override