DocumentStartEvent class

An event indicating the beginning of a YAML document.

Implemented types

Constructors

DocumentStartEvent(FileSpan span, {VersionDirective? versionDirective, List<TagDirective>? tagDirectives, bool isImplicit = true})

Properties

hashCode int
The hash code for this object.
no setterinherited
isImplicit bool
Whether the document started implicitly (that is, without an explicit === sequence).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
span → FileSpan
final
tagDirectives List<TagDirective>
The document's %TAG directives, if any.
final
type EventType
no setteroverride
versionDirective VersionDirective?
The document's %YAML directive, or null if there was none.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited