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

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

See also:

Implementers
Annotations
  • @experimental

Constructors

SaveTypedDocument()

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

Operators

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