RichMessage class
Constructors
-
RichMessage({String? id, String? key, String? from, List<
MessageVersionType> ? versions, List<ToolCallType> ? tools, List<SourceType> ? sources, ReasoningType? reasoning, ChainOfThoughtType? chainOfThought, PlanType? plan, ContextDataType? contextData, ConfirmationType? confirmation, List<CheckpointType> ? checkpoints, List<SuggestionType> ? suggestions, List<TaskType> ? tasks, List<SimpleMessageType> ? messageQueue, String? conversationId, String? sessionId, DateTime? createdAt, DateTime? updatedAt}) -
RichMessage.fromJson(Map<
String, dynamic> json) -
factory
Properties
- chainOfThought ↔ ChainOfThoughtType?
-
getter/setter pair
-
checkpoints
↔ List<
CheckpointType> ? -
getter/setter pair
- confirmation ↔ ConfirmationType?
-
getter/setter pair
- contextData ↔ ContextDataType?
-
getter/setter pair
- conversationId ↔ String?
-
getter/setter pair
- createdAt ↔ DateTime?
-
getter/setter pair
- from ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
getter/setter pair
- key ↔ String?
-
getter/setter pair
-
messageQueue
↔ List<
SimpleMessageType> ? -
getter/setter pair
- plan ↔ PlanType?
-
getter/setter pair
- reasoning ↔ ReasoningType?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sessionId ↔ String?
-
getter/setter pair
-
sources
↔ List<
SourceType> ? -
getter/setter pair
-
suggestions
↔ List<
SuggestionType> ? -
getter/setter pair
-
tasks
↔ List<
TaskType> ? -
getter/setter pair
-
tools
↔ List<
ToolCallType> ? -
getter/setter pair
- updatedAt ↔ DateTime?
-
getter/setter pair
-
versions
↔ List<
MessageVersionType> ? -
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited