CodecOracleStatus constructor

const CodecOracleStatus({
  1. bool errorDetected = false,
  2. bool corrected = false,
  3. bool uncorrectable = false,
  4. int iterationCount = 0,
})

Creates an oracle completion status.

Implementation

const CodecOracleStatus({
  this.errorDetected = false,
  this.corrected = false,
  this.uncorrectable = false,
  this.iterationCount = 0,
})  : assert(
        !(corrected && uncorrectable),
        'A corrected beat cannot also be uncorrectable.',
      ),
      assert(iterationCount >= 0, 'Iteration count must be non-negative.');