toNumDouble property
double
get
toNumDouble
Implementation
double get toNumDouble {
if (this.isEmptyString) {
return 0;
}
try {
return double.tryParse("$this") ?? 0;
} catch (e) {
return 0;
}
}