fromJson static method

BigInt fromJson(
  1. dynamic value
)

Returns a deserialized version of the BigInt.

Implementation

static BigInt fromJson(dynamic value) {
  if (value is BigInt) return value;
  return BigInt.parse(value as String);
}