DocRead<R> class abstract

Read a Document

R: should return a T? or some subset, i.e. Either<Failure, T?>

Implementers

Constructors

DocRead()

Properties

hashCode int
The hash code for this object.
no setterinherited
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
read(DocumentId docId) Future<R>
Gets a single document from the collection
stream(DocumentId docId) Stream<R>
Gets a stream of the document requested
toString() String
A string representation of this object.
inherited
whereById(DocumentId docId) Future<R?>
Get a document matching the document id

Operators

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