operator * method

Amount operator *(
  1. Amount other
)

Operators

Implementation

Amount operator *(Amount other) {
  return Amount(
    value: value * other.value,
    decimals: decimals + other.decimals,
  );
}