NyRequestHeaders extension

on

Methods

addBearerToken(String token) Map<String, dynamic>
Add a bearer token to the request headers.
addHeader(String key, dynamic value) Map<String, dynamic>
Add a new header value to the request headers.
getBearerToken() String?
Get the bearer token from the request headers.
hasHeader(String key) bool
Add a new header value to the request headers.