setHeader method
Replace the value of the given header by the value. -param {String} name header name -param {String} value header value
Implementation
void setHeader(String name, dynamic value) {
Map<String, dynamic> header = <String, dynamic>{'raw': value};
headers![utils.headerize(name)] = <dynamic>[header];
}