AiProvider enum

Inheritance
Available extensions

Values

claude → const AiProvider
openai → const AiProvider
gemini → const AiProvider

Properties

apiKeyHint String
API key hint text for the settings UI.
no setter
apiUrl String
no setter
authMode AiAuthMode
no setter
availableModels List<({String id, String name})>
no setter
credentialStorageKey String
Storage key for the API key (Claude) or OAuth tokens (OpenAI/Gemini).
no setter
defaultModel String
no setter
displayName String
no setter
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
maxOutputTokens int
no setter
modelStorageKey String
Storage key for the user-selected model.
no setter
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

Static Methods

fromStorageValue(String? value) AiProvider
Deserialize from the value stored in secure storage.

Constants

values → const List<AiProvider>
A constant List of the values in this enum, in order of their declaration.