ConversationsLoaded class
Loaded state with conversation data
Note: Typing indicators are managed separately via ValueNotifier per conversation for optimized rebuilds. Use ConversationsBloc.getTypingNotifier to access them.
- Inheritance
-
- Object
- ConversationsState
- ConversationsLoaded
Constructors
-
ConversationsLoaded({required List<
Conversation> conversations, bool hasMore = false, Set<String> selectedConversations = const {}, String? activeConversationId, bool isLoadingMore = false})
Properties
- activeConversationId → String?
-
final
-
conversations
→ List<
Conversation> -
Conversations list - SDK Conversation extends Equatable for property comparison
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasMore → bool
-
final
- isLoadingMore → bool
-
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
selectedConversations
→ Set<
String> -
final
- stringify → bool?
-
If set to
true, thetoStringmethod will be overridden to output this instance'sprops.no setterinherited
Methods
-
copyWith(
{List< Conversation> ? conversations, bool? hasMore, Set<String> ? selectedConversations, String? activeConversationId, bool? isLoadingMore}) → ConversationsLoaded - Create a copy of this state with updated fields
-
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