mapToStr static method
Implementation
static String mapToStr(Map<String, String>? map) {
if (map == null) return '';
var sb = StringBuffer();
final lineTerminator = Platform.lineTerminator;
map.entries.forEach((el) {
sb
..write(el.key)
..write(' => ')
..write(el.value)
..write(lineTerminator);
});
return sb.toString();
}