SourceReport class Null safety

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.
read-onlyinherited
json Map<String, dynamic>?
read / writeinherited
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.)
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
scripts List<ScriptRef>?
A list of scripts, referenced by index in the report's ranges.
read / 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) SourceReport?
override