HttpService constructor

HttpService({
  1. required String baseUrl,
  2. Duration? connectTimeout,
  3. Duration? receiveTimeout,
  4. bool retryEnable = true,
  5. List<Interceptor>? interceptors,
  6. Map<String, dynamic>? proxyConfig,
})

Implementation

HttpService({
  required this.baseUrl,
  this.connectTimeout,
  this.receiveTimeout,
  this.retryEnable = true,
  this.interceptors,
  this.proxyConfig,
});