getLocalizedLogoText method
Localized version of logoText based on given locale
and pass
.
Implementation
String? getLocalizedLogoText(PassFile pass, Locale? locale) {
final localizations = pass.getLocalizations(locale);
return localizations?[logoText] ?? logoText;
}