ApiGetRequestOptions constructor
const
ApiGetRequestOptions({
- Map<
String, String> ? headers, - Map<
String, String> ? cookies, - bool noAuth = false,
- bool? retry,
- bool retryUnsafeRequest = false,
- String? idempotencyKey,
- CancelToken? cancelToken,
- String? operationId,
- ApiCallLogOptions? log,
- List<
String> invalidateCacheTags = const <String>[], - List<
String> invalidateCachePaths = const <String>[], - bool clearActiveSessionCache = false,
- bool cache = true,
- ApiCachePolicy? cachePolicy,
- Duration? cacheTtl,
- bool forceRefresh = false,
- bool invalidateCache = false,
- List<
String> cacheTags = const <String>[], - 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>[],
});