ConversationEntry class final
One conversation, thread, or session exposed by ConversationNavigator.
Constructors
-
ConversationEntry({required Object id, required String title, String? subtitle, ConversationStatus status = ConversationStatus.idle, String? latestMessage, String? author, DateTime? timestamp, int unreadCount = 0, int messageCount = 0, bool pinned = false, bool enabled = true, Map<
String, Object?> metadata = const <String, Object?>{}}) -
const
Properties
-
Optional author/source label for the latest activity.
final
- displayId → String
-
no setter
- enabled → bool
-
Whether activating this row calls ConversationNavigator.onSelect. A
disabled row can still be browsed and copied.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → Object
-
Stable identity used by semantics, selection, and callbacks.
final
- latestMessage → String?
-
Latest message preview text.
final
- messageCount → int
-
Total known message count.
final
-
metadata
→ Map<
String, Object?> -
App-specific semantic state carried by the row.
final
- pinned → bool
-
Whether this conversation should be visually marked as pinned.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → ConversationStatus
-
Current lifecycle status for the conversation.
final
- subtitle → String?
-
Secondary text. Search matches it and screen readers get it as a hint,
but the row doesn't show it.
final
- timestamp → DateTime?
-
Optional latest-activity timestamp.
final
- title → String
-
Primary row text.
final
- unreadCount → int
-
Number of unread messages in the conversation.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited