UnresolvedSourceLocation class

The UnresolvedSourceLocation class is used to refer to an unresolved breakpoint location. As such, it is meant to approximate the final location of the breakpoint but it is not exact.

Either the script or the scriptUri field will be present.

Either the tokenPos or the line field will be present.

The column field will only be present when the breakpoint was specified with a specific column number.

Inheritance

Constructors

UnresolvedSourceLocation({ScriptRef? script, String? scriptUri, int? tokenPos, int? line, int? column})

Properties

column int?
An approximate column number for the source location. This may change when the location is resolved.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
json Map<String, dynamic>?
getter/setter pairinherited
line int?
An approximate line number for the source location. This may change when the location is resolved.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
script ScriptRef?
The script containing the source location if the script has been loaded.
getter/setter pair
scriptUri String?
The uri of the script containing the source location if the script has yet to be loaded.
getter/setter pair
tokenPos int?
An approximate token position for the source location. This may change when the location is resolved.
getter/setter pair
type String
no setteroverride

Methods

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

Operators

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

Static Methods

parse(Map<String, dynamic>? json) UnresolvedSourceLocation?
override