Message class

Constructors

Message.new({required String id, required String conversationId, required Map<String, dynamic> inputs, required String query, required List<MessageFile> messageFiles, required String answer, required int createdAt, Map<String, dynamic>? feedback, List<RetrieverResource>? referenceResources})
Message.fromJson(Map<String, dynamic> json)
factory

Properties

answer String
final
conversationId String
final
createdAt int
final
feedback Map<String, dynamic>?
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
inputs Map<String, dynamic>
final
messageFiles List<MessageFile>
final
query String
final
referenceResources List<RetrieverResource>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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