Position class

Position class represents a substrings beginning and ending position. Within a Greater String.

Constructors

Position(int start, int end)
const

Properties

end int
Position where word ends in string. 0 indexed.
final
hashCode int
The hash code for this object.
no setterinherited
length int
The length of the word, calculated from start and end dynamically.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start int
Position where word starts in string. 0 indexed.
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.
inherited