HttpInterceptor constructor

HttpInterceptor({
  1. Uri? baseUrl,
  2. Map<String, String>? headers,
  3. NetworkInspector? networkInspector,
  4. required Client client,
  5. dynamic onHttpFinish(
    1. int requestHashCode,
    2. String title,
    3. String message
    )?,
  6. bool logIsAllowed = true,
})

Implementation

HttpInterceptor({
  this.baseUrl,
  this.headers,
  this.networkInspector,
  required this.client,
  this.onHttpFinish,
  this.logIsAllowed = true,
});