addAll method

void addAll(
  1. Headers other
)

Replaces matching names with values from other.

Implementation

void addAll(Headers other) {
  for (final entry in other._values.entries) {
    _values[entry.key] = List<String>.of(entry.value);
  }
}