removeHeader method

void removeHeader(
  1. String name
)

Removes the given header

Implementation

void removeHeader(String name) {
  if (_headers!.containsKey(name)) {
    _headers!.remove(name);
  }
}