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 the term in an ordered list of all the terms in the source text;
- zone is the nullable / optional name of the zone the term is in;
Implementation
const Token(this.term, this.n, this.termPosition, [this.zone]);