authAttacher method
Attaches credentials to given request
Implementation
void authAttacher(APIRequest request) {
final localToken = token;
if (localToken != null) request.headers['X-Token'] = localToken;
}
Attaches credentials to given request
void authAttacher(APIRequest request) {
final localToken = token;
if (localToken != null) request.headers['X-Token'] = localToken;
}