FetchProgress.error constructor
An error occured whilst downloading the file.
Implementation
@visibleForTesting
FetchProgress.error(this.fetch, {required this.prior})
: progress = 0.0,
length = 0,
downloaded = 0,
status = FetchStatus.error,
headers = null,
responseCode = null {
prior?.prior = null;
}