ConvoKitConversationListState class final
Immutable snapshot exposed by ConvoKitConversationListController.
Properties
-
conversations
→ List<
Conversation> -
Conversations that satisfy the current local filters.
final
- currentUserId → String?
-
Application-level id of the connected user while the list is bound to a
session in inbox mode; null without a session, in legacy mode and after
disposal. Default rows use it for the
You:preview prefix.final - error → Object?
-
Most recent loading error, if any.
final
- filter → ConvoKitConversationFilter
-
Filter used to create conversations.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasLoaded → bool
-
Whether at least one initial load attempt has completed.
final
- hasMore → bool
-
Whether the source may have another page.
final
- isInitialLoading → bool
-
Whether the first page or a refresh is loading.
final
- isLoadingMore → bool
-
Whether a later page is loading.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
summaries
→ Map<
String, InboxSummary> -
Latest-message previews, unread counts, the caller's read state and the
caller's private "mark unread" state (
isUnread,unreadMarkedAt,privateStateVersion) keyed by conversation id. Empty in legacy mode (custompageLoader, or a backend without the inbox endpoint); otherwise every loaded conversation has an entry.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