BranchCoverage class
Provides the coverage data of branches.
- Annotations
-
- @JsonSerializable(createFactory: false, explicitToJson: true)
Constructors
-
BranchCoverage([int found = 0, int hit = 0, Iterable<
BranchData> ? data]) - Creates a new branch coverage.
Properties
-
data
→ List<
BranchData> -
The coverage data.
final
- found ↔ int
-
The number of branches found.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hit ↔ int
-
The number of branches hit.
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> - 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