registerMap method

void registerMap(
  1. Locale locale,
  2. Map<String, String> strings, {
  3. String ns = defaultNamespace,
})

Registers a plain Map<String, String> directly.

Implementation

void registerMap(
  Locale locale,
  Map<String, String> strings, {
  String ns = defaultNamespace,
}) {
  final table = LocaleStringTable(locale: locale, strings: strings);
  register(locale, table, ns: ns);
}