initialiseVerbTestModel static method

void initialiseVerbTestModel(
  1. VerbTestModel<Verb> model,
  2. CardinalitySelection selection,
  3. List<String> expectedIndicative,
  4. Verb verb,
  5. String mode,
  6. String tense,
)

Implementation

static void initialiseVerbTestModel(
    // BuildContext context,
    VerbTestModel model,
    CardinalitySelection selection,
    List<String> expectedIndicative,
    Verb verb,
    String mode,
    String tense) {
  model.initialise(
      CardinalityFilter.filteredList(selection.singularEnabled,
          selection.pluralEnabled, expectedIndicative),
      CardinalityFilter.filteredList(selection.singularEnabled,
          selection.pluralEnabled, VerbRepository.instance().pronouns),
      verb.infinitive,
      verb.isoLanguage,
      verb.translation,
      mode,
      tense);
  model.reset();
}