Token constructor
Instantiates a Token instance:
term
is the term that will be looked up in the index;termPosition
is the zero-based position of theterm
in an ordered list of all the terms in the source text;zone
is the nullable / optional name of the zone theterm
is in;
Implementation
const Token(this.term, this.n, this.termPosition, [this.zone]);