I have to get 'cookie' header from Login API response and use that in other API's.
I am able to get header value from http.Response
Like this
var cookie = loginResponsehttp.headers.keys.firstWhere(
(k) => loginResponsehttp.headers[k] == 'cookie',
orElse: () => null);
But Now I want to dynamically add this header value in future API calls. (API calls which will be after login)