Transaction class
Constructors
- Transaction({required TransactionInfo info, TransactionStatus status = TransactionStatus.none, String? exception})
- Transaction.fail({String? exception, String? txReference, String? identifier})
-
factory
- Transaction.fromV1(dynamic json)
-
factory
- Transaction.fromV2(dynamic json)
-
factory
Properties
- canceled → bool
-
no setter
- done → bool
-
no setter
- error → bool
-
no setter
- exception → String?
-
final
- exists → bool
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- info → TransactionInfo
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → TransactionStatus
-
final
- waiting → bool
-
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited