LineCoverage class

Provides the coverage data of lines.

Annotations
  • @JsonSerializable(createFactory: false, explicitToJson: true)

Constructors

LineCoverage([int found = 0, int hit = 0, Iterable<LineData>? data])
Creates a new line coverage.

Properties

data List<LineData>
The coverage data.
final
found int
The number of instrumented lines.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hit int
The number of lines with a non-zero execution count.
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