operator [] method

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

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

@override
List<String>? operator [](String name) => _data[name.toLowerCase()];