TokenAmount constructor

TokenAmount({
  1. required String amount,
  2. required int decimals,
  3. int? uiAmount,
  4. String? uiAmountString,
})

Returns a new TokenAmount instance.

Implementation

TokenAmount({
  required this.amount,
  required this.decimals,
  this.uiAmount,
  this.uiAmountString,
});