header method
Adds a header to the request.
Example:
final response = await client.get('https://example.com').header('Authorization', 'Bearer token').go();
Implementation
FliqRequest header(String key, String value) {
_request.headers.add(key, value);
return this;
}