copyWith method
Copy with some fields changed.
Implementation
UNotificationRequest copyWith({String? image, String? largeIcon}) => UNotificationRequest(
id: id,
title: title,
body: body,
subtitle: subtitle,
payload: payload,
image: image ?? this.image,
largeIcon: largeIcon ?? this.largeIcon,
channelId: channelId,
importance: importance,
group: group,
groupSummary: groupSummary,
actions: actions,
progress: progress,
ongoing: ongoing,
autoCancel: autoCancel,
silent: silent,
sound: sound,
badge: badge,
color: color,
timeout: timeout,
fullScreen: fullScreen,
visibility: visibility,
lines: lines,
chronometer: chronometer,
when: when,
interruption: interruption,
relevance: relevance,
category: category,
);