ContentGroup class

Inheritance
Available extensions
Annotations
  • @artifact

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
toLangChain → ChatMessageContent

Available on Content, provided by the XChatMessageContent2LC extension

no setter

Methods

and(Content other) Content
inherited
copyWith({_y? contents, _w resetContents = _F, _y? appendContents, _y? removeContents}) → _7

Available on _7, provided by the $ContentGroup extension

explode() Iterable<Content>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({bool pretty = _F}) → _3

Available on _8, provided by the $Content extension

toJson({bool pretty = _F}) → _3

Available on _7, provided by the $ContentGroup extension

toMap() → _1

Available on _8, provided by the $Content extension

toMap() → _1

Available on _7, provided by the $ContentGroup extension

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

Operators

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