getAsNullableDateTime method
Converts map element into a DateTime or returns null if conversion is not possible.
key
a key of element to get. Returns DateTime value of the element or null if conversion is not supported.
Implementation
DateTime? getAsNullableDateTime(String key) {
var value = get(key);
return DateTimeConverter.toNullableDateTime(value);
}