TextContent class
- Inheritance
- Available extensions
- Annotations
-
- @artifact
Constructors
- TextContent.new({String text = ""})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String
-
final
- toLangChain → ChatMessageContent
-
Available on Content, provided by the XChatMessageContent2LC extension
no setter
Methods
-
and(
Content other) → Content -
inherited
-
copyWith(
{_3? text, _w resetText = _F}) → _a -
Available on _a, provided by the $TextContent 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 _a, provided by the $TextContent extension
-
toMap(
) → _1 -
Available on _8, provided by the $Content extension
-
toMap(
) → _1 -
Available on _a, provided by the $TextContent extension
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited