toDoubleOrNull method

double? toDoubleOrNull()

Parses the string as an double or returns null if it is not a number.

Implementation

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