QuerySnapshotPlatform class Null safety

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

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.
read-only, inherited
metadata SnapshotMetadataPlatform
Metadata for the document
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
size int
The number of documents in this QuerySnapshotPlatform.
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

Static Methods

verifyExtends(QuerySnapshotPlatform instance) → void
Throws an AssertionError if instance does not extend QuerySnapshotPlatform.