ConversationError class
Represents an error entry within a conversation's lifecycle.
Used to track specific failures, including a human-readable message and a precise timestamp of when the error occurred.
Constructors
- ConversationError({required String message, required DateTime timestamp})
-
ConversationError.fromJson(Map<
String, dynamic> json) -
Creates a ConversationError from a JSON map.
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts the error entry into a JSON-compatible map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited