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

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