getAsNullableFloat method
Converts map element into a float or returns null if conversion is not possible.
key
a key of element to get. Returns float value of the element or null if conversion is not supported.
See FloatConverter.toNullableFloat
Implementation
double? getAsNullableFloat(String key) {
var value = get(key);
return FloatConverter.toNullableFloat(value);
}