FetchResponse constructor

const FetchResponse(
  1. int status,
  2. Uint8List body,
  3. String? etag, {
  4. ({int end, int start, int total})? range,
})

A response with status, body and the etag it gave, and — for a part of a file — the range it holds.

Implementation

const FetchResponse(this.status, this.body, this.etag, {this.range});