ApiRequest constructor

ApiRequest(
  1. String method,
  2. String path, {
  3. Map<String, Object?>? query,
  4. Object? body,
  5. bool auth = true,
  6. int? timeoutMs,
  7. DRCancelToken? cancel,
  8. bool noRenew = false,
  9. void onStatus(
    1. int status
    )?,
})

Implementation

ApiRequest(this.method, this.path, {this.query, this.body, this.auth = true, this.timeoutMs, this.cancel, this.noRenew = false, this.onStatus});