BigInt constructor

BigInt({
  1. String toString$([
    1. num?
    ])?,
  2. String toLocaleString([
    1. dynamic,
    2. BigIntToLocaleStringOptions?
    ])?,
  3. int valueOf()?,
  4. int asIntN(
    1. num,
    2. int
    )?,
  5. int asUintN(
    1. num,
    2. int
    )?,
})

Implementation

factory BigInt({
  _i2.String Function([_i2.num?])? toString$,
  _i2.String Function([
    _i2.dynamic,
    _i3.BigIntToLocaleStringOptions?,
  ])? toLocaleString,
  _i2.int Function()? valueOf,
  _i2.int Function(
    _i2.num,
    _i2.int,
  )? asIntN,
  _i2.int Function(
    _i2.num,
    _i2.int,
  )? asUintN,
}) =>
    BigInt._(
      toString$: toString$ == null ? null : _i5.allowInterop(toString$),
      toLocaleString:
          toLocaleString == null ? null : _i5.allowInterop(toLocaleString),
      valueOf: valueOf == null ? null : _i5.allowInterop(valueOf),
      asIntN: asIntN == null ? null : _i5.allowInterop(asIntN),
      asUintN: asUintN == null ? null : _i5.allowInterop(asUintN),
    );