Report constructor

Report([
  1. String testName = "",
  2. Iterable<Record>? records
])

Creates a new report.

Implementation

Report([this.testName = "", Iterable<Record>? records]): records = records?.toList() ?? <Record>[];