tryToDouble method

double? tryToDouble()

Returns the double value of the number, or null if the number is null.

Implementation

double? tryToDouble() => this?.toDouble();