headers property

Map<String, String>? headers
getter/setter pair

The HTTP request headers.

If multiple headers share the same key, they must be merged according to the HTTP spec. All header keys must be lowercased, because HTTP header keys are case-insensitive.

Implementation

core.Map<core.String, core.String>? headers;