removeValues method
Removes the given values of each header: each value of a list, with
headerMatches. A null value removes the header, whatever its values.
Implementation
void removeValues(Map<String, Object?> headers) {
headers.forEach((name, value) {
if (value == null) {
removeAll(name);
return;
}
for (var match in valuesRemovedBy([...?this[name]], value)) {
remove(name, match);
}
});
}