DownloadProgress constructor

const DownloadProgress({
  1. required DownloadState state,
  2. required int bytesTransferred,
  3. required int totalBytes,
})

Creates a snapshot. The package creates them; you need this only in tests.

Implementation

const DownloadProgress({
  required this.state,
  required this.bytesTransferred,
  required this.totalBytes,
});