jsonFormat static method

String jsonFormat(
  1. Map map
)

Implementation

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