FinishReason_ToolCall class abstract

Inheritance

Constructors

FinishReason_ToolCall()
const
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

map<TResult extends Object?>({required TResult stop(FinishReason_Stop value), required TResult length(FinishReason_Length value), required TResult contentFilter(FinishReason_ContentFilter value), required TResult toolCall(FinishReason_ToolCall value), required TResult other(FinishReason_Other value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? stop(FinishReason_Stop value)?, TResult? length(FinishReason_Length value)?, TResult? contentFilter(FinishReason_ContentFilter value)?, TResult? toolCall(FinishReason_ToolCall value)?, TResult? other(FinishReason_Other value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult stop(FinishReason_Stop value)?, TResult length(FinishReason_Length value)?, TResult contentFilter(FinishReason_ContentFilter value)?, TResult toolCall(FinishReason_ToolCall value)?, TResult other(FinishReason_Other value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult stop()?, TResult length()?, TResult contentFilter()?, TResult toolCall()?, TResult other(String value)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult stop(), required TResult length(), required TResult contentFilter(), required TResult toolCall(), required TResult other(String value)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? stop()?, TResult? length()?, TResult? contentFilter()?, TResult? toolCall()?, TResult? other(String value)?}) → TResult?
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited