toBigInt static method
BigInt
toBigInt(
- dynamic object, {
- dynamic mapKey,
- int? listIndex,
- BigInt? defaultValue,
- ElementConverter<
BigInt> ? converter,
Converts object to BigInt, accepting BigInt, num, or numeric
strings.
Throws ConversionException when parsing fails and defaultValue is
null.
Implementation
static BigInt toBigInt(
dynamic object, {
dynamic mapKey,
int? listIndex,
BigInt? defaultValue,
ElementConverter<BigInt>? converter,
}) => ConvertObjectImpl.toBigInt(
object,
mapKey: mapKey,
listIndex: listIndex,
defaultValue: defaultValue,
converter: converter,
);