set method
Sets the header name
to value
.
Removes all existing values for the header named name
and
then adds value
to it.
Implementation
@override
void set(String name, Object value, {bool preserveHeaderCase = false}) {
_headers.set(name, value, preserveHeaderCase: preserveHeaderCase);
}