remove method

void remove(
  1. String name,
  2. String value
)

Removes a specific value for a header name.

Implementation

void remove(String name, String value) {
  var arr = this[name];
  if (arr == null) return;
  arr.removeWhere((v) => v == value);
}