editDistanceMap method Null safety
Returns a hashmap of terms to their editDistance with this.
The term and terms are converted to lower-case and trimmed for the
comparison.
Not case-sensitive.
Implementation
static Map<String, int> editDistanceMap(
String term, Iterable<String> terms) =>
term.editDistanceMap(terms);