operator [] method

List<String>? operator [](
  1. String name
)

Returns the list of values for the header named name. If there is no header with the provided name, null will be returned.

Implementation

List<String>? operator [](String name) {
  return _map[name.trim()];
}