setOAuthToken method
Implementation
void setOAuthToken(String name, String token) {
if (dio.interceptors.any((i) => i is OAuthInterceptor)) {
(dio.interceptors.firstWhere((i) => i is OAuthInterceptor) as OAuthInterceptor).tokens[name] = token;
}
}