toDoubleOrNull method

double? toDoubleOrNull()

Converts this nullable num to a double, or returns null if null.

Implementation

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