ProviderDioStrategy class abstract
Strategy interface for provider-specific Dio configuration
Each provider implements this interface to define their specific requirements for HTTP client setup, including headers, authentication, and custom enhancements.
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- providerName → String
-
Provider name for logging and debugging
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
buildHeaders(
dynamic config) → Map< String, String> - Build provider-specific HTTP headers
-
getBaseUrl(
dynamic config) → String - Get base URL for the provider
-
getEnhancers(
dynamic config) → List< DioEnhancer> - Get list of provider-specific enhancers
-
getTimeout(
dynamic config) → Duration? - Get timeout configuration
-
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