throwIfCancelled method

void throwIfCancelled()

Implementation

void throwIfCancelled() {
  if (isCancelled) throw const RouteCancelled();
}