copyWith method

SetChatMessageSender copyWith({
  1. int? chatId,
  2. MessageSender? messageSenderId,
})

Implementation

SetChatMessageSender copyWith({
  int? chatId,
  MessageSender? messageSenderId,
}) => SetChatMessageSender(
  chatId: chatId ?? this.chatId,
  messageSenderId: messageSenderId ?? this.messageSenderId,
);