initialise method

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

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 infinitive,
    String targetLanguageIso,
    String translation,
    String mode,
    String tense) {
  _pronouns = pronouns;
  _clearActualsForPronouns();
  _expected = expected;
  _infinitive = infinitive;
  _targetLanguageIso = targetLanguageIso;
  _translation = translation;
  _mode = mode;
  _tense = tense;
  notifyListeners();
}