Record class

Provides the coverage data of a source file.

Annotations

Constructors

Record(String sourceFile, {BranchCoverage branches, FunctionCoverage functions, LineCoverage lines})
Creates a new record with the specified source file.

Properties

branches BranchCoverage
The branch coverage.
read / write
functions FunctionCoverage
The function coverage.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
lines LineCoverage
The line coverage.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sourceFile String
The path to the source file.
@JsonKey(defaultValue: ""), read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
Converts this object to a Map in JSON format.
toString() String
Returns a string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited