AssetAmount constructor

AssetAmount({
  1. required num quantity,
  2. required AssetCode assetCode,
  3. dynamic unit = 'nanoasset',
})

Implementation

AssetAmount(
    {required num quantity, required this.assetCode, unit = 'nanoasset'})
    : super(quantity: quantity, unit: unit);