getDio method

Dio getDio(
  1. dynamic authToken
)

Implementation

Dio getDio(authToken) {
  token = authToken;
  dio.interceptors.add(LoggingInterceptor());
  dio.options.headers = headers;
  return dio;
}