toDouble method
Implementation
double toDouble() {
if (isNullOrEmpty()) {
return 0.0;
}
try {
return double.parse(this!);
} catch (e) {
return 0.0;
}
}
double toDouble() {
if (isNullOrEmpty()) {
return 0.0;
}
try {
return double.parse(this!);
} catch (e) {
return 0.0;
}
}