AsyncSaveTypedDocument<D extends TypedDocumentObject<Object> , MD extends TypedMutableDocumentObject<TypedDocumentObject<Object> , TypedDocumentObject<Object> > > class
abstract
Database
Typed Data
The result of AsyncDatabase.saveTypedDocument, which needs to be used to actually save the document.
- Inheritance
-
- Object
- SaveTypedDocument<
D, MD> - AsyncSaveTypedDocument
- Annotations
-
- @experimental
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
-
toString(
) → String -
A string representation of this object.
inherited
-
withConcurrencyControl(
[ConcurrencyControl concurrencyControl = ConcurrencyControl.lastWriteWins]) → Future< bool> -
Saves the document to the database, resolving conflicts through
ConcurrencyControl.
override
-
withConflictHandler(
TypedSaveConflictHandler< D, MD> conflictHandler) → Future<bool> -
Saves the document to the database, resolving conflicts with a
conflictHandler
.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited