YamlOutputFormatter<O extends Object>.document constructor

const YamlOutputFormatter<O extends Object>.document({
  1. bool utc = false,
})

Prefixes each value with --- so stream writes form distinct YAML documents.

Implementation

const YamlOutputFormatter.document({super.utc = false}) : _asDocument = true;