HttpHandler constructor

HttpHandler(
  1. HttpRequestType requestType,
  2. Uri endpointUri, {
  3. Map<String, dynamic>? headers,
  4. int requestTimeout = 5000,
  5. int responseTimeout = 5000,
  6. bool printLogs = false,
  7. bool enableDeviceParameters = true,
  8. bool enableApplicationParameters = true,
  9. bool enableStackTrace = true,
  10. bool enableCustomParameters = false,
})

Implementation

HttpHandler(
  this.requestType,
  this.endpointUri, {
  Map<String, dynamic>? headers,
  this.requestTimeout = 5000,
  this.responseTimeout = 5000,
  this.printLogs = false,
  this.enableDeviceParameters = true,
  this.enableApplicationParameters = true,
  this.enableStackTrace = true,
  this.enableCustomParameters = false,
}) : headers = headers ?? <String, dynamic>{};