int.parse / tryParse
Also written: int.parse, int.tryParse, double.parse
Functions that turn text into a number. parse throws a FormatException on bad text, while tryParse gives null.
Also written: int.parse, int.tryParse, double.parse
Functions that turn text into a number. parse throws a FormatException on bad text, while tryParse gives null.