withHeaders method
Set list of headers by Map
res.withHeaders({'Authorization' : 'Bearer xxx'});
Implementation
DoxResponse withHeaders(Map<String, dynamic> values) {
_headers = values;
return this;
}
Set list of headers by Map
res.withHeaders({'Authorization' : 'Bearer xxx'});
DoxResponse withHeaders(Map<String, dynamic> values) {
_headers = values;
return this;
}