BaseRequest constructor

BaseRequest(String method, Uri url)

Creates a new HTTP request.

Implementation

BaseRequest(this.method, this.url)
    : headers = new LinkedHashMap(
          equals: (key1, key2) => key1.toLowerCase() == key2.toLowerCase(),
          hashCode: (key) => key.toLowerCase().hashCode);