DocumentHighlight class

A highlighted range in the document.

Constructors

DocumentHighlight({required int from, required int to, HighlightKind kind = HighlightKind.text})
const

Properties

from → int
The start position of the highlight.
final
hashCode → int
The hash code for this object.
no setterinherited
kind → HighlightKind
The kind of highlight.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
to → int
The end position of the highlight.
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