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({@required List<int> hits, @required List<int> misses})

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
hits List<int>
A list of token positions in a SourceReportRange which have been executed. The list is sorted.
read / write
misses List<int>
A list of token positions 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-only, inherited

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