OperationStatus class
Utilized to indicate which Operation status are considered successful.
- Annotations
-
- @immutable
Constructors
- OperationStatus(String status, bool successful)
-
const
-
OperationStatus.fromJson(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → String
-
The status is the network-specific status of the operation.
final
- successful → bool
-
An Operation is considered successful if the
Operation.Amount
should affect the Operation.Account. Some blockchains (like Bitcoin) only include successful operations in blocks but other blockchains (like Ethereum) include unsuccessful operations that incur a fee. To reconcile the computed balance from the stream ofOperations
, it is critical to understand whichOperation.Status
indicate an Operation is successful and should affect an account.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited