tokenize method Null safety

Future<List<Token>> tokenize(
  1. SourceText source,
  2. [Zone? zone]
)

Extracts tokens from source for use in full-text search queries and indexes.

Optional parameter zone is the name of the zone in a document in which the term is located.

Returns a List<Token>.

Implementation

Future<List<Token>> tokenize(SourceText source, [Zone? zone]);