asDouble method
Will attempt to return a double from the string value or null if it cannot.
Implementation
num? asDouble() => double.tryParse(this);
Will attempt to return a double from the string value or null if it cannot.
num? asDouble() => double.tryParse(this);