tryParse method Null safety

int? tryParse (
  1. String source,
  2. {int? radix}
)
override

Parse source as a, possibly signed, integer literal.

Like parse except that this function returns null where a similar call to parse would throw a FormatException.

Implementation

external static int? tryParse(String source, {int? radix});