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