PerfTestOne constructor

PerfTestOne(
  1. String name, {
  2. PerfTestFormat? format,
  3. bool isMyStopwatch = false,
  4. bool isOutLaps = false,
  5. int laps = 0,
  6. PerfTestLot? lot,
  7. String outRatio = '',
  8. String outValue = '',
  9. num ratio = 0,
  10. Stopwatch? stopwatch,
  11. PerfTestOneProc? testProc,
  12. PerfTestOneProcSync? testProcSync,
})

The constructor

Implementation

PerfTestOne(this.name,
    {PerfTestFormat? format,
    this.isMyStopwatch = false,
    this.isOutLaps = false,
    this.laps = 0,
    this.lot,
    this.outRatio = '',
    this.outValue = '',
    this.ratio = 0,
    Stopwatch? stopwatch,
    this.testProc,
    this.testProcSync}) {
  if (format != null) {
    this.format = format;
  }
  if (stopwatch != null) {
    this.stopwatch = stopwatch;
  }
}