asMapOfString function
Returns o
as a Map<String,String>. Converts it if needed.
Implementation
Map<String, String>? asMapOfString(Object? o) {
if (o == null) return null;
var m = o as Map;
return m.map((k, v) => MapEntry('$k', '$v'));
}
Returns o
as a Map<String,String>. Converts it if needed.
Map<String, String>? asMapOfString(Object? o) {
if (o == null) return null;
var m = o as Map;
return m.map((k, v) => MapEntry('$k', '$v'));
}