loadTranslation method

Future<void> loadTranslation(
  1. Translation translation
)

Loads a single translation entry.

translation is the translation to load.

Implementation

Future<void> loadTranslation(Translation translation) async {
  Map<String, dynamic> newTrs = await loader.loadTranslation(translation,
      supportedLocales: supportedLocales);
  _localizedStrings.addAll(newTrs);
}