load method

  1. @override
Future<Map<String, String>> load(
  1. Locale locale
)
override

Load translations for locale.

Implementation

@override
Future<Map<String, String>> load(Locale locale) async =>
    (map.containsKey(locale.languageCode)) ? map[locale.languageCode]! : {};