CognitiveResult constructor

const CognitiveResult({
  1. required int complexity,
})

Creates a cognitive result with the given complexity value.

Implementation

const CognitiveResult({required this.complexity});