toDoubleOrNull method

double? toDoubleOrNull()

Parses the string as an 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);