NimbostratusWriteBatch class

An extension of the WriteBatch with support for making changes and rolling back the Nimbostratus in-memory cache.

Constructors

NimbostratusWriteBatch({required WriteBatch batch})

Properties

batch → WriteBatch
final
hashCode int
The hash code for this object.
no setterinherited
isCommitted bool
no setter
listeners List<Future<void> Function()>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

commit() Future<void>
Commits all of the writes in this write batch as a single atomic unit.
override
delete(DocumentReference<Object?> document) → void
Deletes the document referred to by document.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onCommit(Future<void> callback()) → void
set<T>(DocumentReference<T> document, T data, [SetOptions? options]) → void
Writes to the document referred to by document.
override
toString() String
A string representation of this object.
inherited
update(DocumentReference<Object?> document, Map<String, dynamic> data) → void
Updates a given document.
override

Operators

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