JsonTokenizer typedef

JsonTokenizer = Future<Iterable<Token>> Function(Map<String, dynamic> json, List<Zone> fields, {NGramRange? nGramRange, TokenizingStrategy? strategy})

Type definition of a function that returns a collection of Token from the fields in a json document.

Implementation

typedef JsonTokenizer = Future<Iterable<Token>> Function(
    Map<String, dynamic> json, List<Zone> fields,
    {NGramRange? nGramRange, TokenizingStrategy? strategy});