Converts string to double or returns null
double
null
double? toDoubleOrNull() => double.tryParse(this);