markCompleted method

void markCompleted()

Marks the operation as completed.

Implementation

void markCompleted() {
  status = PreloadStatus.completed;
  endTime = DateTime.now();
}