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