Copies map as a Map<String,String>.
map
Map<String, String>? copyMapString(Map<String, String>? m) { if (m == null) return null; return Map<String, String>.from(m); }