getAsNullableLong method
Converts map element into a long or returns null if conversion is not possible.
key
a key of element to get. Returns long value of the element or null if conversion is not supported.
Implementation
int? getAsNullableLong(String key) {
var value = get(key);
return LongConverter.toNullableLong(value);
}