asString function
Implementation
String asString(Map<String, dynamic>? json, String key,
{String defaultValue = ""}) {
if (json == null || !json.containsKey(key)) return defaultValue;
return toString(json[key]);
}
String asString(Map<String, dynamic>? json, String key,
{String defaultValue = ""}) {
if (json == null || !json.containsKey(key)) return defaultValue;
return toString(json[key]);
}