UnresolvedSourceLocation class Null safety

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.
@optional, read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
json Map<String, dynamic>?
read / write, inherited
line int?
An approximate line number for the source location. This may change when the location is resolved.
@optional, read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
script ScriptRef?
The script containing the source location if the script has been loaded.
@optional, read / write
scriptUri String?
The uri of the script containing the source location if the script has yet to be loaded.
@optional, read / write
tokenPos int?
An approximate token position for the source location. This may change when the location is resolved.
@optional, read / write
type String
read-only, override

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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