cancel method

void cancel()

Cancels the task.

See NSURLSessionTask cancel

Implementation

void cancel() {
  _nsObject.cancel();
}