getAmount method

num getAmount()

Implementation

num getAmount() {
  return value / new BigInt.from(10).pow(token.decimals);
}