toBigInt static method

BigInt toBigInt(
  1. Object jsBigInt
)

Create from JavaScript BigInt.

Implementation

static BigInt toBigInt(Object jsBigInt) =>
    BigInt.parse(callMethod(jsBigInt, 'toString', const []) as String);