copyWith method
Implementation
AddChatToList copyWith({
int? chatId,
ChatList? chatList,
}) => AddChatToList(
chatId: chatId ?? this.chatId,
chatList: chatList ?? this.chatList,
);
AddChatToList copyWith({
int? chatId,
ChatList? chatList,
}) => AddChatToList(
chatId: chatId ?? this.chatId,
chatList: chatList ?? this.chatList,
);