ToggleChatIsMarkedAsUnread constructor

const ToggleChatIsMarkedAsUnread({
  1. required int chatId,
  2. required bool isMarkedAsUnread,
})

Changes the marked as unread state of a chat

Implementation

const ToggleChatIsMarkedAsUnread({
  required this.chatId,
  required this.isMarkedAsUnread,
});