PreloadOperation constructor

PreloadOperation({
  1. required String key,
  2. PreloadStatus status = PreloadStatus.notStarted,
})

Creates a new instance of PreloadOperation.

Implementation

PreloadOperation({
  required this.key,
  this.status = PreloadStatus.notStarted,
}) : startTime = DateTime.now();