Position class

Both line and ch are 0-based.

{line, ch}

Implemented types

Constructors

Position(int? line, int? ch)
Position.fromProxy(dynamic obj)

Properties

ch int?
final
hashCode int
The hash code for this object.
no setteroverride
line int?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

compareTo(Position other) int
Compares this object to another object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toProxy() JsObject
toString() String
A string representation of this object.
override

Operators

operator <(Position other) bool
operator <=(Position other) bool
operator ==(Object other) bool
The equality operator.
override
operator >(Position other) bool
operator >=(Position other) bool