addHeader method

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

Add headers that should be sent with all API calls.

Implementation

@override
ClientIO addHeader(String key, String value) {
  _headers![key] = value;

  return this;
}