smallSimplifiedLanguageFlagsMap top-level constant

Map<NaturalLanguage, BasicFlag> const smallSimplifiedLanguageFlagsMap

A map that associates language objects with simplified flag representations.

This map is used to provide simplified flag representations for constructed languages. Each entry in the map consists of a language as the key and a flag as the value.

void main() {
  final esperantoFlag = smallSimplifiedLanguageFlagsMap[const LangEpo()];
  assert(esperantoFlag != null);
}

Implementation

const smallSimplifiedLanguageFlagsMap = <NaturalLanguage, BasicFlag>{
  LangEpo(): BasicFlag(flagEpoProperties),
  LangIdo(): BasicFlag(flagIdoProperties),
  LangIle(): BasicFlag(flagIleProperties),
  LangIna(): BasicFlag(flagInaProperties),
  LangVol(): BasicFlag(flagVolProperties),
};