ModelTransactionDocument<T> class

Document class for transactions.

Load data with load.

Loaded data can be retrieved with value.

After replacing value, the contents of value are saved again by executing save.

delete will delete the document.

トランザクション用のドキュメントクラス。

loadでデータをロードします。

ロードされたデータはvalueで取得することが可能です。

valueを置き換えた後saveを実行することでvalueの内容が再度保存されます。

deleteを実行することでドキュメントが削除されます。

Available Extensions
Annotations

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → T?
Document Value.
no setter

Methods

delete() → void
Data can be deleted.
load() FutureOr<T?>
Reads the corresponding document.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
save(T? newValue) → void
Data can be saved.
toString() String
A string representation of this object.
inherited

Operators

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