fixnum
fixnum copied to clipboard
Add `tryParse` methods
The class Int64 has a parse method, but no tryParse method.
I suggest adding a try version of each of the parse methods (parse, parseHex, parseRadix), which returns null instead of throwing a FormatException in case of invalid inputs.
In null-safe Dart (even more than before) it's often more useful to get a null value than a thrown FormatException.
(Also, the parse methods must document which exceptions they throw. That's as important as what type they return. #35)