headers property

Map<String, String> headers
getter/setter pair

Headers to send with the HTTP request. Headers are case-insensitive.

Note that the "content-type" header will be set automatically based on the type of data in this request's body and the encoding.

Implementation

Map<String, String> headers = {};