addHeader method

  1. @override
ClientBrowser addHeader(
  1. String key,
  2. String value
)

Add headers that should be sent with all API calls.

Implementation

@override
ClientBrowser addHeader(String key, String value) {
  _headers![key] = value;
  return this;
}