toDouble method
Parse this
string as an double literal and return its value.
Implementation
double? toDouble({double? defaultValue}) {
final String? _copy = this;
if (_copy == null) {
return defaultValue;
}
return double.parse(_copy);
}