translationLanguage method

Language? translationLanguage(
  1. String code
)

Implementation

Language? translationLanguage(String code) =>
    translation?.where((e) => e.code == code).firstOrNull;