SourceReportCoverage class

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.
no setterinherited
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.
getter/setter pair
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.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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?