copyWith method
NotificationTypeNewPushMessage
copyWith({
- int? messageId,
- MessageSender? senderId,
- String? senderName,
- bool? isOutgoing,
- PushMessageContent? content,
override
Implementation
@override
NotificationTypeNewPushMessage copyWith({
int? messageId,
MessageSender? senderId,
String? senderName,
bool? isOutgoing,
PushMessageContent? content,
}) => NotificationTypeNewPushMessage(
messageId: messageId ?? this.messageId,
senderId: senderId ?? this.senderId,
senderName: senderName ?? this.senderName,
isOutgoing: isOutgoing ?? this.isOutgoing,
content: content ?? this.content,
);