DioClient constructor

DioClient({
  1. required BaseOptions baseOptions,
  2. List<Interceptor> interceptors = const [],
})

Implementation

DioClient({
  required BaseOptions baseOptions,
  List<Interceptor> interceptors = const [],
}) : super(baseOptions) {
  this.interceptors
    ..clear()
    ..addAll(interceptors);
}