isInt property
bool
get
isInt
Returns true
if the string can be parsed as an integer.
Implementation
bool get isInt => toIntOrNull() != null;
Returns true
if the string can be parsed as an integer.
bool get isInt => toIntOrNull() != null;