RequestAPI constructor

const RequestAPI({
  1. required String authority,
  2. required Map<String, String> headers,
  3. required Map<String, String> queryParameters,
  4. required ProcessResponseMethod processResponseMethod,
  5. required ProcessStreamedResponseMethod processStreamedResponseMethod,
  6. bool useJsonEncode = true,
  7. bool useSSL = true,
  8. bool debug = false,
  9. void logFunction(
    1. String
    )?,
  10. Client? client,
})

Implementation

const RequestAPI({
  required this.authority,
  required this.headers,
  required this.queryParameters,
  required this.processResponseMethod,
  required this.processStreamedResponseMethod,
  this.useJsonEncode = true,
  this.useSSL = true,
  this.debug = false,
  this.logFunction,
  this.client,
});