KnowledgeAssessmentInput.bundle constructor

const KnowledgeAssessmentInput.bundle({
  1. required OkfBundleLoadResult bundle,
  2. required ProfileSelection selection,
  3. ProfileValidator validator = const ProfileValidator(),
})

One bundle to judge with no base, as adoption judges the bundle it seeds or binds: candidate is bundle, and base is null.

Implementation

const KnowledgeAssessmentInput.bundle({
  required OkfBundleLoadResult bundle,
  required this.selection,
  this.validator = const ProfileValidator(),
}) : base = null,
     candidate = bundle;