toInt property
int?
get
toInt
Converts the string to an integer.
@return The integer value of the string, or null if conversion is not possible.
Implementation
int? get toInt => int.tryParse(this);
Converts the string to an integer.
@return The integer value of the string, or null if conversion is not possible.
int? get toInt => int.tryParse(this);