PositionResponse 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
-
PositionResponse({required Input<
String> column, required Input<String> length, required Input<String> line}) -
Creates a new PositionResponse.
columnThe source code column position (of the line) the current instruction was generated from.lengthThe number of bytes of source code making up this stack trace element.lineThe source code line number the current instruction was generated from.const -
PositionResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
column
→ Input<
String> -
The source code column position (of the line) the current instruction was generated from.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
length
→ Input<
String> -
The number of bytes of source code making up this stack trace element.
final
-
line
→ Input<
String> -
The source code line number the current instruction was generated from.
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
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited