SourceReport class

The SourceReport class represents a set of reports tied to source locations in an isolate.

Inheritance

Constructors

SourceReport({List<SourceReportRange>? ranges, List<ScriptRef>? scripts})

Properties

hashCode → int
The hash code for this object.
no setterinherited
json ↔ Map<String, dynamic>?
getter/setter pairinherited
ranges ↔ List<SourceReportRange>?
A list of ranges in the program source. These ranges correspond to ranges of executable code in the user's program (functions, methods, constructors, etc.)
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scripts ↔ List<ScriptRef>?
A list of scripts, referenced by index in the report's ranges.
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) → SourceReport?
override