NetworkBytesLoader constructor

const NetworkBytesLoader(
  1. Uri url, {
  2. Map<String, String>? headers,
  3. Client? httpClient,
})

Creates a new loading context for network bytes.

Implementation

const NetworkBytesLoader(
  this.url, {
  this.headers,
  http.Client? httpClient,
}) : _httpClient = httpClient;