customHeaders property

void customHeaders=(Map<String, String> value)

A map containing custom headers to use with HTTP/HTTPS requests.

config.customHeaders = {'headerName': 'headerValue'};

Defaults to empty.

Implementation

set customHeaders(Map<String, String> value) => _customHeaders = value;