LineCoverage constructor

LineCoverage([
  1. int found = 0,
  2. int hit = 0,
  3. Iterable<LineData>? data
])

Creates a new line coverage.

Implementation

LineCoverage([this.found = 0, this.hit = 0, Iterable<LineData>? data]):
  data = data?.toList() ?? <LineData>[];