cancel method

void cancel()

Cancels the operation associated with this token.

Implementation

void cancel() {
  _isCancelled = true;
}