Transaction class

Transaction

Implemented types

Constructors

Transaction({required String $id, required String $createdAt, required String $updatedAt, required String status, required int operations, required String expiresAt})
Transaction.fromMap(Map<String, dynamic> map)
factory

Properties

$createdAt String
Transaction creation time in ISO 8601 format.
final
$id String
Transaction ID.
final
$updatedAt String
Transaction update date in ISO 8601 format.
final
expiresAt String
Expiration time in ISO 8601 format.
final
hashCode int
The hash code for this object.
no setterinherited
operations int
Number of operations in the transaction.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String
Current status of the transaction. One of: pending, committing, committed, rolled_back, failed.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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