toDouble method
Tries to parse the string as a double and returns the result.
Returns null
if the string cannot be parsed as a double.
Implementation
double? toDouble() {
return double.tryParse(this);
}
Tries to parse the string as a double and returns the result.
Returns null
if the string cannot be parsed as a double.
double? toDouble() {
return double.tryParse(this);
}