encodeWithIndent property
String
get
encodeWithIndent
Convenience getter used by ConversionException.toString().
Produces 2-space pretty JSON via toJsonString.
Implementation
String get encodeWithIndent => toJsonString(indent: ' ');