FinalizedRequest constructor

FinalizedRequest(
  1. String method,
  2. Uri uri,
  3. Map<String, String> headers,
  4. BaseHttpBody body,
  5. bool withCredentials,
)

Implementation

FinalizedRequest(
    this.method,
    this.uri,
    Map<String, String> headers,
    this.body,
    // ignore: avoid_positional_boolean_parameters
    this.withCredentials)
    : this.headers = Map<String, String>.unmodifiable(
          CaseInsensitiveMap<String>.from(headers));