convertTo method

Amount convertTo(
  1. int newDecimals
)

Implementation

Amount convertTo(int newDecimals) {
  return Amount(value: value, decimals: newDecimals);
}