header method
set headers
res.header('Authorization', 'Bearer xxx');
Implementation
DoxResponse header(String key, dynamic value) {
_headers[key] = value;
return this;
}
set headers
res.header('Authorization', 'Bearer xxx');
DoxResponse header(String key, dynamic value) {
_headers[key] = value;
return this;
}