getlanguageCodeEnum function

ContactusTransalte getlanguageCodeEnum(
  1. String? languageCode
)

Implementation

ContactusTransalte getlanguageCodeEnum(String? languageCode) {
  return switch (languageCode) {
    'he' => ContactusTransalte.he,
    'en' => ContactusTransalte.en,
    'ru' => ContactusTransalte.ru,
    'ar' => ContactusTransalte.ar,
    'fr' => ContactusTransalte.fr,
    _ => ContactusTransalte.he,
  };
}