ApiRequestOptions class
Shared request controls available on every generated operation.
- Implementers
Constructors
-
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}) -
const
Properties
- cancelToken → CancelToken?
-
final
- clearActiveSessionCache → bool
-
final
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, String> ? -
final
- idempotencyKey → String?
-
final
-
invalidateCachePaths
→ List<
String> -
final
-
invalidateCacheTags
→ List<
String> -
final
- log → ApiCallLogOptions?
-
final
- noAuth → bool
-
final
- operationId → String?
-
final
- retry → bool?
-
final
- retryUnsafeRequest → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{Map< String, String> ? headers, Map<String, String> ? cookies, bool? noAuth, bool? retry, bool clearRetry = false, bool? retryUnsafeRequest, String? idempotencyKey, CancelToken? cancelToken, String? operationId, ApiCallLogOptions? log, bool clearLog = false, List<String> ? invalidateCacheTags, List<String> ? invalidateCachePaths, bool? clearActiveSessionCache}) → ApiRequestOptions -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited