terms property

Set<String> get terms

Returns a set of unique terms by iterating over all the values in the collection and adding the terms to a Set.

Implementation

Set<String> get terms {
  final kGramTerms = <String>{};
  for (final terms in values) {
    kGramTerms.addAll(terms);
  }
  return kGramTerms;
}