AssetAmount class
Utility class to deserialize asset quantities. This may be updated as we understand more about the use cases for assets
Constructors
- AssetAmount({required num quantity, required AssetCode assetCode, dynamic unit = 'nanoasset'})
- AssetAmount.fromQuantity(AssetCode assetCode, dynamic quantity)
-
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited