load static method

Future<I18n> load(
  1. Locale locale
)

Implementation

static Future<I18n> load(Locale locale) async {
  final translations = I18n(locale);
  _localizedValues = _allValues[locale.toString()]!;
  return translations;
}