copyWith method
ChatNewMessageNotification
copyWith({
- String? title,
- String? body,
- NotificationSender? sender,
- VerifyToSendNotification? verify,
- OnDeniedToSendNotification? onDenied,
override
Implementation
@override
ChatNewMessageNotification copyWith({
String? title,
String? body,
NotificationSender? sender,
VerifyToSendNotification? verify,
OnDeniedToSendNotification? onDenied,
}) {
return ChatNewMessageNotification(
title: title ?? this.title,
body: body ?? this.body,
sender: sender ?? this.sender,
verify: verify ?? this.verify,
onDenied: onDenied ?? this.onDenied,
);
}