ContentGroup class

Inheritance
Available extensions
Annotations

Constructors

ContentGroup({List<Content> contents = const []})
const

Properties

contents List<Content>
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
to → _a

Available on _i, provided by the $Content extension

no setter
to → _a

Available on _k, provided by the $ContentGroup extension

no setter
toLangChain → ChatMessageContent

Available on Content, provided by the XChatMessageContent2LC extension

no setter

Methods

and(Content other) Content
inherited
copyWith({_1m? contents, _19 resetContents = _F, _1m? appendContents, _1m? removeContents}) → _k

Available on _k, provided by the $ContentGroup extension

explode() Iterable<Content>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → _5

Available on _i, provided by the $Content extension

toMap() → _5

Available on _k, provided by the $ContentGroup extension

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

Operators

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