ConvoKitInboxRow class final

One conversation row together with the inbox data rendered beside it.

summary is null for rows without inbox data: controlled lists that pass no summaries, custom pageLoaders, adapters whose backend has no inbox endpoint, and rows the server has not described yet. Render such rows the way 0.5 did (title plus the participants line, no time, no badge).

Constructors

ConvoKitInboxRow({required Conversation conversation, required InboxSummary? summary, required int index, required String? currentUserId})
Creates an immutable inbox row.
const

Properties

conversation → Conversation
The conversation, exactly as state.conversations and every filter, predicate and comparator see it.
final
currentUserId → String?
Application-level id of the connected user, used for the You: preview prefix; null when no session is bound or the list runs in legacy mode.
final
hashCode → int
The hash code for this object.
no setterinherited
index → int
Position of the row in the visible list.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
summary → InboxSummary?
The latest-message preview, unread count and the caller's read state, or null when the list has no inbox data for this 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