getResponseHeader method
Returns the header value for the parameter headerKey
.
Implementation
String? getResponseHeader(String headerKey) {
if (_responseHeaderGetter == null) return null;
try {
return _responseHeaderGetter(headerKey);
} catch (e, s) {
print("[HttpResponse] Can't access response header: $headerKey");
print(e);
print(s);
return null;
}
}