prettyPrintCollections property
Controls whether RDF collections are formatted across multiple lines when they contain complex items (nested collections or blank nodes with their own predicates).
When true (default), the encoder writes complex collections in a
multi-line, indented form to improve readability.
When false, collections are always serialized in a single line.
Implementation
final bool prettyPrintCollections;