ApiRequestOptions constructor
const
ApiRequestOptions({
- 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,
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,
});