multiplyDecimal method

  1. @override
DynamicNumber multiplyDecimal(
  1. Decimal other
)
override

Implementation

@override
DynamicNumber<dynamic> multiplyDecimal(Decimal other) {
  if (other.isDecimalPartZero) {
    return multiplyDynamicInt(other.toDynamicInt());
  } else {
    return toDecimal().multiplyDecimal(other);
  }
}