asDouble method

num? asDouble()

Will attempt to return a double from the string value or null if it cannot.

Implementation

num? asDouble() => double.tryParse(this);