BranchCoverage constructor

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

Creates a new branch coverage.

Implementation

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