tokenizeJson method Null safety

Future<List<Token>> tokenizeJson(
  1. Map<String, dynamic> document,
  2. [Iterable<Zone>? zones]
)

Extracts tokens from the zones in a JSON document for use in full-text search queries and indexes.

The required parameter zones is the collection of the names of the zones in document that are to be tokenized.

Returns a List<Token>.

Implementation

Future<List<Token>> tokenizeJson(Map<String, dynamic> document,
    [Iterable<Zone>? zones]);