Region class

Manages a part of the text defined by a start and end position.

Constructors

Region({required Position start, required Position end})

Properties

end Position
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
searchEngine TextEngine?
getter/setter pair
start Position
final

Methods

clone(Region source) → void
Set the data from the source.
contains(Position position) bool
Returns true if position is inside the region described by the instance.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setAll() → void
Sets the region to the full text.
toString() String
A string representation of this object.
override

Operators

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