setApiKey method
Implementation
void setApiKey(String name, String apiKey) {
if (dio.interceptors.any((i) => i is ApiKeyAuthInterceptor)) {
(dio.interceptors.firstWhere((element) => element is ApiKeyAuthInterceptor) as ApiKeyAuthInterceptor).apiKeys[name] = apiKey;
}
}