Record class
Provides the coverage data of a source file.
- Annotations
-
- @JsonSerializable(createFactory: false, explicitToJson: true)
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.
getter/setter pair
- functions ↔ FunctionCoverage?
-
The function coverage.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- lines ↔ LineCoverage?
-
The line coverage.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceFile ↔ String
-
The path to the source file.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent 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