copyWith method
AddLocalMessage
copyWith({
- int? chatId,
- MessageSender? senderId,
- int? replyToMessageId,
- bool? disableNotification,
- InputMessageContent? inputMessageContent,
Implementation
AddLocalMessage copyWith({
int? chatId,
MessageSender? senderId,
int? replyToMessageId,
bool? disableNotification,
InputMessageContent? inputMessageContent,
}) => AddLocalMessage(
chatId: chatId ?? this.chatId,
senderId: senderId ?? this.senderId,
replyToMessageId: replyToMessageId ?? this.replyToMessageId,
disableNotification: disableNotification ?? this.disableNotification,
inputMessageContent: inputMessageContent ?? this.inputMessageContent,
);