withDictionary method

NotationVocabulary withDictionary(
  1. Map<String, String> texts, {
  2. required String name,
})

This table with the dictionary name (a folder of definition files, texts by file name): its words under the ones definitions has, and over any dictionary given before it. What could not be read is left out (readDefinitions says what).

Implementation

NotationVocabulary withDictionary(Map<String, String> texts, {required String name}) =>
    merge(NotationVocabulary(dictionary: readDefinitions(texts, dictionary: name).words));