CodecOracleStatus constructor
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.');