markCancelled method

void markCancelled()

Marks the operation as cancelled.

Implementation

void markCancelled() {
  status = PreloadStatus.cancelled;
  endTime = DateTime.now();
}