W3cubDocs

/Dart 2

operator [] method

List<String> operator [] (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);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-io/HttpHeaders/operator_get.html