cancel method

void cancel()

Cancel the request.

Implementation

void cancel() {
  _cancelToken?.cancel(_userCanceledException.message);
}