headers method
Sets custom HTTP headers
Implementation
HttpConfig headers(Map<String, String> headers) {
_config['customHeaders'] = headers;
return this;
}
Sets custom HTTP headers
HttpConfig headers(Map<String, String> headers) {
_config['customHeaders'] = headers;
return this;
}