AgentSpeed enum
Inference speed mode for agents.
Values
- standard → const AgentSpeed
-
Standard throughput mode.
const AgentSpeed('standard') - fast → const AgentSpeed
-
Fast mode (premium pricing).
const AgentSpeed('fast') - unknown → const AgentSpeed
-
Unknown speed mode — fallback for unrecognized values.
const AgentSpeed('unknown')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- 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
- value → String
-
JSON value for this speed mode.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String - Converts this speed mode to JSON.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
String value) → AgentSpeed - Parses an AgentSpeed from JSON.
Constants
-
values
→ const List<
AgentSpeed> - A constant List of the values in this enum, in order of their declaration.