prettyPrintJson static method

void prettyPrintJson(
  1. dynamic json
)

Implementation

static void prettyPrintJson(var json) {
  var enc = JsonEncoder.withIndent("    ");
  var con = enc.convert(json);
  debugPrint(con);
}