jsonEncoder property
The JsonEncoder used to serialize log data.
Defaults to a pretty-printing encoder with two-space indentation.
Implementation
JsonEncoder jsonEncoder = const JsonEncoder.withIndent(' ');
The JsonEncoder used to serialize log data.
Defaults to a pretty-printing encoder with two-space indentation.
JsonEncoder jsonEncoder = const JsonEncoder.withIndent(' ');