Content class
- Implementers
- Available extensions
- Annotations
-
- @artifact
Constructors
- Content.new()
-
const
- Content.audioBase64(String base64Audio)
-
factory
- Content.audioUrl(String audioUrl)
-
factory
-
Content.group(List<
Content> contents) -
factory
- Content.imageBase64(String base64Image)
-
factory
- Content.imageUrl(String imageUrl)
-
factory
- Content.text(String text)
-
factory
Properties
- 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 -
explode(
) → Iterable< Content> -
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
-
toMap(
) → _1 -
Available on _8, provided by the $Content extension
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited