FetchProgress.forHeaders constructor
- @visibleForTesting
Fech has retrieved the HTTP headers
Implementation
@visibleForTesting
FetchProgress.forHeaders(this.fetch, this.headers, {required this.prior})
: status = FetchStatus.headers,
progress = 0,
length = 0,
downloaded = 0,
responseCode = null {
prior?.prior = null;
}