ChatResponseUpdate constructor
ChatResponseUpdate({
- ChatRole? role,
- String? authorName,
- List<
AIContent> ? contents, - Object? rawRepresentation,
- AdditionalPropertiesDictionary? additionalProperties,
- String? responseId,
- String? messageId,
- String? conversationId,
- DateTime? createdAt,
- ChatFinishReason? finishReason,
- String? modelId,
- ResponseContinuationToken? continuationToken,
- UsageDetails? usage,
Creates a new ChatResponseUpdate.
Implementation
ChatResponseUpdate({
this.role,
this.authorName,
List<AIContent>? contents,
this.rawRepresentation,
this.additionalProperties,
this.responseId,
this.messageId,
this.conversationId,
this.createdAt,
this.finishReason,
this.modelId,
this.continuationToken,
this.usage,
}) : contents = contents ?? [];