lastPosition method Null safety
- @Deprecated('The [maxIndex] extension method will be removed.')
- Term term
@Deprecated('The [maxIndex] extension method will be removed.')
Returns the highest Token.termPosition where Token.term == term.
Implementation
@Deprecated('The [maxIndex] extension method will be removed.')
int lastPosition(Term term) => byTerm(term).last.termPosition;