tryParse method Null safety

  1. @override
Value? tryParse(
  1. String s,
  2. NumStatus m
)
override

Implementation

@override
Value? tryParse(String s, NumStatus m) {
  s = s.replaceAll(',', '');
  BigInt? v = BigInt.tryParse(s, radix: radix);
  if (v == null) {
    return null;
  }
  return _toValue(v, m);
}