toBigInt method

BigInt toBigInt()

A parte inteira (truncada). Lança UnsupportedError para valores não finitos.

Implementation

BigInt toBigInt() {
  _requireFinite('toBigInt');
  return _scale == 0 ? _unscaled : _unscaled ~/ _pow10(_scale);
}