lastPosition method

  1. @Deprecated('The [maxIndex] extension method will be removed.')
int lastPosition(
  1. String term
)

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;