sumBigInt method

  1. @override
Decimal sumBigInt(
  1. BigInt amount
)
override

Implementation

@override
Decimal sumBigInt(BigInt amount) {
  if (amount == BigInt.zero) return this;
  var n = _n.sumDynamicInt(_scale.multiplyBigInt(amount));
  return Decimal._(n, precision, _scale);
}