without method

AcpHttpHeaders without(
  1. String name
)

Returns a copy without name.

Implementation

AcpHttpHeaders without(String name) {
  final copy = Map<String, _HeaderValues>.of(_entries)
    ..remove(name.toLowerCase());
  return AcpHttpHeaders._(Map<String, _HeaderValues>.unmodifiable(copy));
}