HttpHeadersItems constructor
Implementation
HttpHeadersItems({
/// Name of the HTTP header.
required String name,
/// Value of the HTTP header if it can be represented by UTF-8.
String? value,
/// Value of the HTTP header if it cannot be represented by UTF-8, stored as
/// individual byte values (0..255).
List<int>? binaryValue,
}) : _wrapped = $js.HttpHeadersItems(
name: name,
value: value,
binaryValue: binaryValue?.toJSArray((e) => e),
);