toStringPretty method

String toStringPretty()

return string data encode json original data

Implementation

String toStringPretty() {
  return JsonEncoder.withIndent(" " * 2).convert(toJson());
}