setHeader method
Implementation
void setHeader(String name, dynamic value) {
_headers[utils.headerize(name)] =
(value is List) ? value : <dynamic>[value];
}
void setHeader(String name, dynamic value) {
_headers[utils.headerize(name)] =
(value is List) ? value : <dynamic>[value];
}