indent property

String? indent
final

The string used for indention.

When generating multi-line output, this string is inserted once at the beginning of each indented line for each level of indentation.

If null, the output is encoded as a single line.

Implementation

final String? indent;

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-convert/JsonEncoder/indent.html