tryToBigInt method

BigInt? tryToBigInt({
  1. dynamic mapKey,
  2. int? listIndex,
  3. BigInt? defaultValue,
  4. DynamicConverter<BigInt>? converter,
})

Converts to BigInt without throwing, mirroring Convert.tryToBigInt.

Implementation

BigInt? tryToBigInt({
  dynamic mapKey,
  int? listIndex,
  BigInt? defaultValue,
  DynamicConverter<BigInt>? converter,
}) => ConvertObjectImpl.tryToBigInt(
  _value,
  mapKey: mapKey,
  listIndex: listIndex,
  defaultValue: defaultValue ?? _defaultValue as BigInt?,
  converter: converter,
);