languageIndex property

int get languageIndex

Implementation

int get languageIndex => languages().contains(languageCode)
    ? languages().indexOf(languageCode)
    : 0;