putHeader method

void putHeader(
  1. String key,
  2. String value
)

Implementation

void putHeader(String key, String value) {
  if (_httpCacheHeader == null) {
    throw Exception("_httpCacheHeader is not initialized");
  }
  _httpCacheHeader?.put(key, value);
}