DioClient constructor

DioClient()

Implementation

DioClient() {
  _dio = Dio();
  if (kDebugMode) {
    if (_dio.interceptors.isEmpty == true) {
      _dio.interceptors.add(
        DioLoggingInterceptor(
          level: Level.body,
          compact: false,
        ),
      );
    }
  }
}