prettifyJsonEncode function

String prettifyJsonEncode(
  1. Object? map
)

Returns a prettified json string

Implementation

String prettifyJsonEncode(Object? map) =>
    JsonEncoder.withIndent(' ' * 4).convert(map);