tryGetDouble method
Tries to convert the value at key (or alternativeKeys) to double.
Implementation
double? tryGetDouble(
K key, {
List<K>? alternativeKeys,
dynamic innerKey,
int? innerListIndex,
double? defaultValue,
String? format,
String? locale,
ElementConverter<double>? converter,
}) => ConvertObjectImpl.tryToDouble(
_firstValueForKeys(key, alternativeKeys: alternativeKeys),
mapKey: innerKey,
listIndex: innerListIndex,
defaultValue: defaultValue,
format: format,
locale: locale,
converter: converter,
debugInfo: {
'key': key,
if (alternativeKeys != null && alternativeKeys.isNotEmpty)
'altKeys': alternativeKeys,
},
);