addAll method

void addAll(
  1. HttpxHeaderName name,
  2. HttpxHeaderValues values, {
  3. bool ifNotPresent = false,
})

Implementation

void addAll(
  HttpxHeaderName name,
  HttpxHeaderValues values, {
  bool ifNotPresent = false,
}) =>
    set(name, [...this[name] ?? [], ...values], ifNotPresent: ifNotPresent);