ApiRequestOptions constructor

const ApiRequestOptions({
  1. Map<String, String>? headers,
  2. Map<String, String>? cookies,
  3. bool noAuth = false,
  4. bool? retry,
  5. bool retryUnsafeRequest = false,
  6. String? idempotencyKey,
  7. CancelToken? cancelToken,
  8. String? operationId,
  9. ApiCallLogOptions? log,
  10. List<String> invalidateCacheTags = const <String>[],
  11. List<String> invalidateCachePaths = const <String>[],
  12. bool clearActiveSessionCache = false,
})

Implementation

const ApiRequestOptions({
  this.headers,
  this.cookies,
  this.noAuth = false,
  this.retry,
  this.retryUnsafeRequest = false,
  this.idempotencyKey,
  this.cancelToken,
  this.operationId,
  this.log,
  this.invalidateCacheTags = const <String>[],
  this.invalidateCachePaths = const <String>[],
  this.clearActiveSessionCache = false,
});