toJsonPretty method

String toJsonPretty({
  1. List<String>? columns,
  2. bool includeMissingValue = false,
})

to json helper using 2 spaces indent.

Implementation

String toJsonPretty({
  List<String>? columns,
  bool includeMissingValue = false,
}) => jsonPrettyEncode(
  toMapList(columns: columns, includeMissingValue: includeMissingValue),
);