BaseRequest constructor
BaseRequest(
- String method,
- Uri url, {
- RequestController? controller,
Implementation
BaseRequest(String method, this.url, {this.controller})
: method = _validateMethod(method),
headers = LinkedHashMap(
equals: (key1, key2) => key1.toLowerCase() == key2.toLowerCase(),
hashCode: (key) => key.toLowerCase().hashCode);