tryToDouble static method
Converts object to double without throwing.
Returns defaultValue or null on parsing failure.
Implementation
static double? tryToDouble(
dynamic object, {
dynamic mapKey,
int? listIndex,
String? format,
String? locale,
double? defaultValue,
ElementConverter<double>? converter,
}) => ConvertObjectImpl.tryToDouble(
object,
mapKey: mapKey,
listIndex: listIndex,
format: format,
locale: locale,
defaultValue: defaultValue,
converter: converter,
);