AnthropicMessageBuilder class

Anthropic message builder for provider-specific features

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

cache({AnthropicCacheTtl? ttl}) AnthropicMessageBuilder
Enable caching for ALL text content in this message
contentBlock(Map<String, dynamic> blockData) AnthropicMessageBuilder
Direct content block
contentBlocks(List<Map<String, dynamic>> blocks) AnthropicMessageBuilder
Multiple content blocks
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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