FetchProgress.connected constructor Null safety
- FetchUrl fetch,
- {required FetchProgress? prior}
Fetch connected
Implementation
@visibleForTesting
/// Fetch connected
FetchProgress.connected(this.fetch, {required this.prior})
: progress = 0.0,
length = 0,
downloaded = 0,
status = FetchStatus.connected,
headers = null,
responseCode = null {
prior?.prior = null;
}