cancel method

void cancel()

Implementation

void cancel() {
  if (finished) return;
  finished = true;
  UNavigator.back<bool>(false);
}