initialiseVerbTestModel static method
void
initialiseVerbTestModel(
- VerbTestModel<
Verb> model, - CardinalitySelection selection,
- List<
String> expectedIndicative, - Verb verb,
- String mode,
- 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();
}