initialise method

void initialise(
  1. List<String> expected,
  2. List<String> pronouns,
  3. String targetLanguageIso,
  4. String infinitive,
  5. String translation,
)

Initialise the model with the attributes of the Verb under test, as well as the pronouns of the language of the verb. Notifies listeners.

Implementation

void initialise(List<String> expected, List<String> pronouns,
    String targetLanguageIso, String infinitive, String translation) {
  _pronouns = pronouns;
  _clearActualsForPronouns();
  _verb = Verb(infinitive, translation, expected, targetLanguageIso);
  notifyListeners();
}