TermExpander typedef
TermExpander =
Future<Set<String> > Function(String term, [PartOfSpeech? partOfSpeech])
Function definition of an asynchronous callback that returns an expansion of
a term from an asynchronous provider or API.
Implementation
typedef TermExpander = Future<Set<String>> Function(String term,
[PartOfSpeech? partOfSpeech]);