subtractBigInt method

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

Implementation

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