localizedName method

String localizedName(
  1. String languageCode
)

Implementation

String localizedName(String languageCode) {
  return nameTranslations[languageCode] ?? name;
}