AiClient class
Calls only the selected provider's HTTPS API. No redirects or retries.
Constructors
- AiClient({required AiProvider provider, required String apiKey, String? model, HttpClient? httpClient, Duration timeout = const Duration(seconds: 60)})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- model → String
-
final
- provider → AiProvider
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeout → Duration
-
final
Methods
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited