MockQuerySnapshot<T extends Object?> class

A class which mocks QuerySnapshot.

See the documentation for Mockito's code generation for more information.

Constructors

MockQuerySnapshot()

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.
no setteroverride
docs List<QueryDocumentSnapshot<T>>
Gets a list of all the documents included in this snapshot.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
metadata → SnapshotMetadata
Returns the SnapshotMetadata for this snapshot.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
Returns the size (number of documents) of this snapshot.
no setteroverride

Methods

noSuchMethod(Invocation invocation, {Object? returnValue, Object? returnValueForMissingStub = deferToDefaultResponse}) → dynamic
Handles method stubbing, method call verification, and real method calls.
inherited
toString() String
A string representation of this object.
inherited

Operators

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