DocReplace<R, T extends Serializable> class
abstract
Replace an existing Document
R
: should return Null or some subset,
i.e. Either<Failure, Null>
- Subclasses: Collection and Repository for subclasses
- Implementations: FirefuelCollection and FirefuelRepository for subclasses
- Implementers
Constructors
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
withvalue
. -
replaceFields(
{required DocumentId docId, required T value, required List< String> fieldPaths}) → Future<R> -
Replaces the fields of the document at
docId
with the matchingfieldPaths
fromvalue
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited