DocReplace<R, T extends Serializable> class abstract

Replace an existing Document

R: should return Null or some subset, i.e. Either<Failure, Null>

Implementers

Constructors

DocReplace()

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
replace({required DocumentId docId, required T value}) Future<R>
Replaces the document at docId with value.
replaceFields({required DocumentId docId, required T value, required List<String> fieldPaths}) Future<R>
Replaces the fields of the document at docId with the matching fieldPaths from value
toString() String
A string representation of this object.
inherited

Operators

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