RequestHeaders.create constructor Null safety
- Map<
String, String> headers
Creates a RequestHeaders objects from a map of strings.
The keys of the map are the header names and the values, the header values. The SDK will not do any processing of the provided values and will send the headers as provided. If you want to send multivalued headers in separate headers, use RequestHeaders.new method.
Params:
- headers: the headers.
Implementation
factory RequestHeaders.create(Map<String, String> headers) {
return RequestHeadersImpl.create(headers);
}