Position class

Position contains source position information about the stack trace element such as line number, column number and length of the code block in bytes.

Constructors

Position({String? column, String? length, String? line})
Position.fromJson(Map json_)

Properties

column String?
The source code column position (of the line) the current instruction was generated from.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
length String?
The number of bytes of source code making up this stack trace element.
getter/setter pair
line String?
The source code line number the current instruction was generated from.
getter/setter pair
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, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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