OutputConfig class
Configuration for model output behavior.
- Annotations
-
- @immutable
Constructors
- OutputConfig({EffortLevel? effort, JsonOutputFormat? format})
-
Creates an OutputConfig.
const
-
OutputConfig.fromJson(Map<
String, dynamic> json) -
Creates an OutputConfig from JSON.
factory
Properties
- effort → EffortLevel?
-
Optional effort setting for response depth and latency tradeoff.
final
- format → JsonOutputFormat?
-
Optional structured output format configuration.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{Object? effort = unsetCopyWithValue, Object? format = unsetCopyWithValue}) → OutputConfig - Creates a copy with replaced values.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts to JSON.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override