discontinuedPackage thingsboard_pe_client has been discontinued and replaced by thingsboard_client.

TbTextContent class abstract

Text-based content part of a user's prompt

Properties:

Implemented types
Available extensions
Annotations
  • @BuiltValue.new()

Constructors

TbTextContent([void updates(TbTextContentBuilder b)])
factory

Properties

contentType → String
no setterinherited
discriminatorValue → String?

Available on TbContent, provided by the TbContentDiscriminatorExt extension

no setter
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
The text content
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(TbTextContentBuilder)) → TbTextContent
Rebuilds the instance.
inherited
toBuilder() → TbTextContentBuilder
Converts the instance to a builder B.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

serializer → Serializer<TbTextContent>
no setter