ChatResult constructor
const
ChatResult({
- required String id,
- required AIChatMessage output,
- required FinishReason finishReason,
- required Map<
String, dynamic> metadata, - required LanguageModelUsage usage,
- bool streaming = false,
Result returned by the Chat Model.
Implementation
const ChatResult({
required super.id,
required super.output,
required super.finishReason,
required super.metadata,
required super.usage,
super.streaming = false,
});