GotoTarget class

A GotoTarget describes a code location that can be used as a target in the goto request. The possible goto targets can be determined via the gotoTargets request.

Constructors

GotoTarget({int? column, int? endColumn, int? endLine, required int id, String? instructionPointerReference, required String label, required int line})
GotoTarget.fromMap(Map<String, Object?> obj)

Properties

column int?
The column of the goto target.
final
endColumn int?
The end column of the range covered by the goto target.
final
endLine int?
The end line of the range covered by the goto target.
final
hashCode int
The hash code for this object.
no setterinherited
id int
Unique identifier for a goto target. This is used in the goto request.
final
instructionPointerReference String?
A memory reference for the instruction pointer value represented by this target.
final
label String
The name of the goto target (shown in the UI).
final
line int
The line of the goto target.
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?>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

canParse(Object? obj) bool
fromJson(Map<String, Object?> obj) GotoTarget