multiplyAndCeil method

Amount multiplyAndCeil(
  1. double multiplier
)

Implementation

Amount multiplyAndCeil(double multiplier) {
  final result = value.toInt() * multiplier;
  final result_int = result.ceil().toBI;

  return Amount(value: result_int, decimals: decimals);
}