removeResponseHeader method

void removeResponseHeader(
  1. Map<String, Object> headers
)

Remove headers from HTTP Response

Implementation

void removeResponseHeader(Map<String, Object> headers) {
  headers.forEach((key, value) {
    server?.defaultResponseHeaders.remove(key, value);
  });
}