BaseHttpClient constructor

BaseHttpClient({
  1. BaseOptions? baseOptions,
  2. List<Interceptor>? interceptors,
  3. bool useLogInterceptor = true,
  4. bool cached = false,
  5. int? requestSendTimeout,
  6. int? requestReceiveTimeout,
})

Implementation

BaseHttpClient(
    {BaseOptions? baseOptions,
    List<Interceptor>? interceptors,
    bool useLogInterceptor = true,
    bool cached = false,
    this.requestSendTimeout,
    this.requestReceiveTimeout}) {
  setup(baseOptions, interceptors, useLogInterceptor);
}