Return double value of given string
double toDouble({double defaultValue = 0.0}) { if (this == null) return defaultValue; try { return double.parse(this!); } catch (e) { return defaultValue; } }