SourceReport class Null safety

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

Inheritance

Constructors

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

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
json Map<String, dynamic>?
read / write, inherited
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-only, inherited
scripts List<ScriptRef>?
A list of scripts, referenced by index in the report's ranges.
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) SourceReport?
override