finish method

void finish()
inherited

Finishes this token and notifies onFinish listener.

Implementation

void finish() => onFinish?.call();