DownloadProgress constructor
const
DownloadProgress({
- required DownloadState state,
- required int bytesTransferred,
- 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,
});