StringToIntOrNullExtension extension
- on
Methods
-
toIntOrNull(
{int? radix}) → int? -
Available on String, provided by the StringToIntOrNullExtension extension
Parses the string as an int number and returns the result ornull
if the string is not a valid representation of a number.