StringToDoubleOrNullExtension extension

on

Methods

toDoubleOrNull() double?

Available on String, provided by the StringToDoubleOrNullExtension extension

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