static String jsonFormat(Map<dynamic, dynamic> map) { Map _map = Map<String, Object>.from(map); JsonEncoder encoder = JsonEncoder.withIndent(' '); return encoder.convert(_map); }