cancel method

void cancel()

Immediately drops back to idle and invalidates the active token — an in-flight run finishing later (success or failure) becomes a no-op.

Implementation

void cancel() {
  _activeToken = null;
  phase.value = SceneTransitionPhase.idle;
  progress.value = 0.0;
  lastError = null;
}