HttpRepository constructor

HttpRepository()

Implementation

HttpRepository() : dio = Dio() {
  dio.options.baseUrl = baseUrl!;

  if (useInterceptors) {
    dio.interceptors.add(CookieManager(truesightService.persistCookieJar));
    dio.interceptors.add(refreshTokenInterceptor);
    addInterceptors(interceptorsWrapper);
  }
}