SyncSaveTypedDocument<D extends TypedDocumentObject<Object>, MD extends TypedMutableDocumentObject<TypedDocumentObject<Object>, TypedDocumentObject<Object>>> class abstract interface Database Typed Data

The result of SyncDatabase.saveTypedDocument, which needs to be used to actually save the document.

Inheritance
Annotations
  • @experimental

Constructors

SyncSaveTypedDocument()

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]) bool
Saves the document to the database, resolving conflicts through ConcurrencyControl.
override
withConflictHandler(TypedSaveConflictHandler<D, MD> conflictHandler) FutureOr<bool>
Saves the document to the database, resolving conflicts with a conflictHandler.
override
withConflictHandlerSync(TypedSyncSaveConflictHandler<D, MD> conflictHandler) bool
Saves the document to the database, resolving conflicts with a sync conflictHandler.

Operators

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