Timeseries constructor

Timeseries(
  1. String name,
  2. bool isReported, {
  3. bool useCustomWarmUp = false,
})

Creates an empty timeseries.

name, isReported, and useCustomWarmUp must not be null.

Implementation

Timeseries(this.name, this.isReported, {this.useCustomWarmUp = false})
    : _warmUpFrameCount = useCustomWarmUp ? 0 : null;