load static method

void load(
  1. Map<String, String> strings, {
  2. bool clear = false,
})

method used to load string resources into memory.

Implementation

static void load(Map<String, String> strings, {bool clear = false}) {
  if (clear) _strings.clear();
  _strings.addAll(_initialStrings);
  _strings.addAll(strings);
}