prefix method

FtsP prefix()

Makes the last token of this phrase a prefix token and returns the result.

Implementation

FtsP prefix() => str.endsWith("*") ? this : FtsP("$str*");