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