ApiGetRequestOptions constructor

const ApiGetRequestOptions({
  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,
  13. bool cache = true,
  14. ApiCachePolicy? cachePolicy,
  15. Duration? cacheTtl,
  16. bool forceRefresh = false,
  17. bool invalidateCache = false,
  18. List<String> cacheTags = const <String>[],
  19. List<String> varyHeaders = const <String>[],
})

Implementation

const ApiGetRequestOptions({
  super.headers,
  super.cookies,
  super.noAuth,
  super.retry,
  super.retryUnsafeRequest,
  super.idempotencyKey,
  super.cancelToken,
  super.operationId,
  super.log,
  super.invalidateCacheTags,
  super.invalidateCachePaths,
  super.clearActiveSessionCache,
  this.cache = true,
  this.cachePolicy,
  this.cacheTtl,
  this.forceRefresh = false,
  this.invalidateCache = false,
  this.cacheTags = const <String>[],
  this.varyHeaders = const <String>[],
});