ScalarEvent class

An event indicating a single scalar value.

Implemented types

Constructors

ScalarEvent(FileSpan span, String value, ScalarStyle style, {String? anchor, String? tag})

Properties

anchor → String?
The name of the value's anchor, or null if it wasn't anchored.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
span → FileSpan
final
style → ScalarStyle
The style of the scalar in the original source.
final
tag → String?
The text of the value's tag, or null if it wasn't tagged.
final
type → EventType
no setteroverride
value → String
The contents of the scalar.
final

Methods

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

Operators

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