copyWith method

ToggleChatIsMarkedAsUnread copyWith({
  1. int? chatId,
  2. bool? isMarkedAsUnread,
})

Implementation

ToggleChatIsMarkedAsUnread copyWith({
  int? chatId,
  bool? isMarkedAsUnread,
}) => ToggleChatIsMarkedAsUnread(
  chatId: chatId ?? this.chatId,
  isMarkedAsUnread: isMarkedAsUnread ?? this.isMarkedAsUnread,
);