XAIDioStrategy class

xAI-specific Dio strategy implementation

Handles xAI's Bearer token authentication.

Inheritance

Constructors

XAIDioStrategy.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
providerName String
Provider name for logging and debugging
no setteroverride
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
override
getBaseUrl(dynamic config) String
Get base URL for the provider
inherited
getEnhancers(dynamic config) List<DioEnhancer>
Get list of provider-specific enhancers
inherited
getTimeout(dynamic config) Duration?
Get timeout configuration
inherited
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