Parse the number represented by the string. If it's not parsable, returns null.
null
num? tryParse(String text) { try { return parse(text); } on FormatException { return null; } }