RestApiClientKeys class

A class that contains constant keys used by the RestApiClient.

This class centralizes key strings used in headers, caching, and storage for the REST API client implementation, helping to avoid magic strings scattered throughout the codebase.

Constructors

RestApiClientKeys.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Constants

acceptLanguage → const String
The HTTP header key used to specify the language preference of the client.
authorization → const String
The HTTP header key for authorization tokens.
cachedStorageKey → const String
Key used for caching data in the repository for the REST API client.
cachedStorageLogPrefix → const String
Prefix used in logging for the cached storage operations of the REST API client.
contentType → const String
The HTTP header key used to specify the media type of the resource, typically 'application/json' or 'application/xml'.
jwt → const String
Key used to store the JSON Web Token (JWT) required for authorization.
refreshToken → const String
Key used to store the refresh token which can be used to obtain a new JWT.
storageKey → const String
Key used for the primary storage repository for the REST API client.
storageLogPrefix → const String
Prefix used in logging for the primary storage operations of the REST API client.