toDoubleOrNull method

double? toDoubleOrNull()

Parses the string as a double number and returns the result or null if the String is not a valid representation of a number.

Implementation

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