value method

  1. @override
String? value(
  1. String name
)
override

Convenience method for the value for a single valued header.

The value must not have more than one value.

Returns null if there is no header with the provided name.

Implementation

@override
String? value(String name) {
  return _headers.value(name);
}