scale method

  1. @override
BigInt scale(
  1. BigInt a,
  2. num f
)
override

Computes the multiplicative scaling: a * f.

Implementation

@override
BigInt scale(BigInt a, num f) => a * BigInt.from(f.round());