TextAnnotation class

Inline text annotation — byte-range based formatting and links.

Annotations reference byte offsets into the node's text content, enabling precise identification of formatted regions.

Constructors

TextAnnotation({required PlatformInt64 start, required PlatformInt64 end, required AnnotationKind kind})
const

Properties

end → int
End byte offset in the node's text content (exclusive).
final
hashCode → int
The hash code for this object.
no setteroverride
kind → AnnotationKind
Annotation type.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
start → int
Start byte offset in the node's text content (inclusive).
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