GroqMessage class

Available extensions

Constructors

GroqMessage({required String content, GroqMessageRole role = GroqMessageRole.user, List<GroqToolCall> toolCalls = const [], bool isToolCall = false, String? username})

Properties

content String
final
hashCode int
The hash code for this object.
no setterinherited
isToolCall bool
final
role GroqMessageRole
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toolCalls List<GroqToolCall>
final
username String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>

Available on GroqMessage, provided by the GroqMessageExtension extension

toString() String
A string representation of this object.
override

Operators

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