toIntOrNull method
Parses the string as an int or returns null if it is not a number.
Implementation
int? toIntOrNull() => int.tryParse(this);
Parses the string as an int or returns null if it is not a number.
int? toIntOrNull() => int.tryParse(this);