prettify function Null safety

String prettify(
  1. Map<String, dynamic> data
)

Implementation

String prettify(Map<String, dynamic> data) {
  JsonEncoder encoder = JsonEncoder.withIndent('  ');
  String output = encoder.convert(data);
  return output;
}