operator [] method Null safety

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

The values for the header named name.

Returns null if there is no header with the provided name, otherwise returns a new list containing the current values. Not that modifying the list does not change the header.

Implementation

List<String>? operator [](String name);