toInt method
convert a string in and int value if is possible throws a FormatException is string content is not a number value
Implementation
int toInt() => int.parse(this);
convert a string in and int value if is possible throws a FormatException is string content is not a number value
int toInt() => int.parse(this);