JsonToMap function

String JsonToMap (Map<String, String> data)

Implementation

String JsonToMap(Map<String, String> data) {
  String temp = "";
  data.forEach((k, v) => temp += "${k}: ${v}\r\n");

  return temp.substring(0, temp.length - 2);
}