load static method
Implementation
static Future<AtOnboardingLocalizations> load(Locale locale) {
final name = (locale.countryCode?.isEmpty ?? false)
? locale.languageCode
: locale.toString();
final localeName = Intl.canonicalizedLocale(name);
return initializeMessages(localeName).then((_) {
Intl.defaultLocale = localeName;
final instance = AtOnboardingLocalizations();
AtOnboardingLocalizations._current = instance;
return instance;
});
}