toDoubleOrNull method

double? toDoubleOrNull()

Tries to parse the string into a double, returning null if parsing fails.

Implementation

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