load method

  1. @override
Future<Map> load()
override

Return the translation Map for the namespace

Implementation

@override
Future<Map> load() async {
  locale = locale ?? await findDeviceLocale();
  MessagePrinter.info("The current locale is $locale");

  await Future.wait(
      namespaces!.map((namespace) => _loadTranslation(namespace)));

  return _decodedMap;
}