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