lastPosition method Null safety
- @Deprecated('The [maxIndex] extension method will be removed.')
- String 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(String term) => byTerm(term).last.termPosition;