ApiRequest constructor

ApiRequest(
  1. String url, {
  2. String? method,
  3. dynamic body,
  4. Options? options,
  5. bool showLogs = kDebugMode,
  6. CancelToken? cancelToken,
  7. void onReceiveProgress(
    1. int,
    2. int
    )?,
  8. void onSendProgress(
    1. int,
    2. int
    )?,
  9. Map<String, dynamic>? queryParameters,
})

Implementation

ApiRequest(
  this.url, {
  this.method,
  this.body,
  this.options,
  this.showLogs = kDebugMode,
  this.cancelToken,
  this.onReceiveProgress,
  this.onSendProgress,
  this.queryParameters,
});