CharacterLocation class Null safety

The location of a character represented as a line and column pair.

Constructors

CharacterLocation(int lineNumber, int columnNumber)
Initialize a newly created location to represent the location of the character at the given lineNumber and columnNumber.

Properties

columnNumber int
The one-based index of the column containing the character.
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
lineNumber int
The one-based index of the line containing the character.
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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