format method

String? format(
  1. String? json
)

Implementation

String? format(String? json) {
  if (InnerUtils.isJson(json) == false) return null;

  print("========> Start format JSON:\n");

  var data = jsonDecode(json!);
  var output = _formatData(data);

  print("$output\n========> End format JSON:\n");
  return output;
}