PerfTestLot constructor

PerfTestLot(
  1. String name, {
  2. Stopwatch? stopwatch,
  3. PerfTestOut? out,
  4. PerfTestFormat? format,
  5. bool isMyStopwatch = false,
})

The constructor

Implementation

PerfTestLot(this.name,
    {Stopwatch? stopwatch,
    PerfTestOut? out,
    PerfTestFormat? format,
    this.isMyStopwatch = false}) {
  this.format = format ?? PerfTestFormat();
  this.out = out ?? PerfTestOut(this);
  this.stopwatch = stopwatch ?? Stopwatch();
}