prettyJson function
Encodes a json into a tabular format for easy redeability.
Implementation
String prettyJson(dynamic json) {
return JsonEncoder.withIndent(' ' * 2).convert(json);
}
Encodes a json into a tabular format for easy redeability.
String prettyJson(dynamic json) {
return JsonEncoder.withIndent(' ' * 2).convert(json);
}