load method

Future<Map> load()
override

Return the translation Map for the namespace

Implementation

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

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

  return _decodedMap;
}