A SourceLocation describes the span of an entity in Dart source code.

Constructors

SourceLocation()

Properties

column int

The 1-based column number for this source location.

read-only
line int

The 1-based line number for this source location.

read-only
sourceUri Uri

Returns the URI where the source originated.

read-only
hashCode int

The hash code for this object.

read-only, inherited
runtimeType Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) bool

The equality operator.

inherited

Methods

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() String

Returns a string representation of this object.

inherited