The (exclusive) last index of this entity in the source.
Instead of returning null, this getter may throw for entities where hasSpan is false.
@override int get lastPosition => last!.span.end.offset;