YamlDocument.internal constructor

YamlDocument.internal(
  1. YamlNode contents,
  2. SourceSpan span,
  3. VersionDirective? versionDirective,
  4. List<TagDirective> tagDirectives, {
  5. bool startImplicit = false,
  6. bool endImplicit = false,
})

Users of the library should not use this constructor.

Implementation

YamlDocument.internal(this.contents, this.span, this.versionDirective,
    List<TagDirective> tagDirectives,
    {this.startImplicit = false, this.endImplicit = false})
    : tagDirectives = UnmodifiableListView(tagDirectives);