AssetAmount.fromQuantity constructor
AssetAmount.fromQuantity(
- AssetCode assetCode,
- dynamic quantity
Implementation
factory AssetAmount.fromQuantity(AssetCode assetCode, quantity) {
return AssetAmount(quantity: parseValue(quantity), assetCode: assetCode);
}