finish method

void finish()

Implementation

void finish() {
  _isFinished = true;
  onChange?.call(end);
  onFinish?.call();
  removeFromParent();
}