StringToIntOrNullExtension extension
- on
Methods
-
toIntOrNull(
{int? radix}) → int? -
Parses the string as an int number and returns the result or
null
if the string is not a valid representation of a number.
null
if
the string is not a valid representation of a number.