CodeDataAttribute class
An XML-style attribute attached to an Element node.
Populated only for CodeDataNodeKind::Element; always empty for KeyValue and
Sequence nodes.
Constructors
- CodeDataAttribute({required String name, required String value, required PlatformInt64 byteStart, required PlatformInt64 byteEnd})
-
const
Properties
- byteEnd → int
-
Exclusive end byte offset of the
name="value"attribute token.final - byteStart → int
-
Inclusive start byte offset of the
name="value"attribute token.final - hashCode → int
-
The hash code for this object.
no setteroverride
- name → String
-
Attribute name (e.g.
"class","href").final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
Attribute value as a raw string (quotes stripped).
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override