Transaction constructor
Transaction({
- bool? committed,
- DataSnapshot? snapshot,
Creates a new Transaction with optional committed
and snapshot
properties.
Implementation
factory Transaction({bool? committed, DataSnapshot? snapshot}) =>
Transaction.fromJsObject(
database_interop.TransactionJsImpl(
committed: committed,
snapshot: snapshot?.jsObject,
),
);