SourceReportCoverage class Null safety

The SourceReportCoverage class represents coverage information for one SourceReportRange.

Note that SourceReportCoverage does not extend Response and therefore will not contain a type property.

Constructors

SourceReportCoverage({List<int>? hits, List<int>? misses})

Properties

hashCode int
The hash code for this object.
read-onlyinherited
hits List<int>?
A list of token positions (or line numbers if reportLines was enabled) in a SourceReportRange which have been executed. The list is sorted.
read / write
misses List<int>?
A list of token positions (or line numbers if reportLines was enabled) in a SourceReportRange which have not been executed. The list is sorted.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
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) SourceReportCoverage?