prettyPrint function

String prettyPrint(
  1. Map input
)

Implementation

String prettyPrint(Map input) {
  JsonEncoder encoder = new JsonEncoder.withIndent('  ');
  return encoder.convert(input);
}