toDouble method
Converts the string into a double.
Throws an error if the string is not a valid double.
Implementation
double toDouble() => double.parse(this);
Converts the string into a double.
Throws an error if the string is not a valid double.
double toDouble() => double.parse(this);