AddChatToList constructor

const AddChatToList({
  1. required int chatId,
  2. required ChatList chatList,
})

Adds a chat to a chat list. A chat can't be simultaneously in Main and Archive chat lists, so it is automatically removed from another one if needed

Implementation

const AddChatToList({
  required this.chatId,
  required this.chatList,
});