parseUserNumber function

BigInt? parseUserNumber(
  1. String s
)

Implementation

BigInt? parseUserNumber(String s) {
  try {
    return BigInt.tryParse(s, radix: 10);
  } catch (e) {
    return null;
  }
}