indicativeForVerbIcon method

List<String> indicativeForVerbIcon(
  1. Verb verb,
  2. String? mode,
  3. String? tense
)

Implementation

List<String> indicativeForVerbIcon(Verb verb, String? mode, String? tense) {
  List<String> indicative = verb.simplePresentIndicative;
  if (null != tense) {
    if ('présent' == tense && 'indicatif' == mode) {
      indicative = verb.simplePresentIndicative;
    } else {
      indicative = verb.indicativeConjugations['${mode}_$tense']!.conjugation;
    }
  }
  return indicative;
}