Position class final

Constructors

Position({Uri? filename, required int offset, required int line, required int column})
const
Position.fromJson(Map<String, Object?> json)
factory
Position.fromProto(Position position)
factory
Position.unknown()
const

Properties

column → int
final
filename → Uri?
final
hashCode → int
The hash code for this object.
no setteroverride
line → int
final
offset → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toProto() → Position
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override