copyWithSelf method
Implementation
JSNotificationOptions copyWithSelf({JSNotificationOptions? options}) {
return JSNotificationOptions(
actions: options?.actions ?? actions,
badge: options?.badge ?? badge,
body: options?.body ?? body,
data: options?.data ?? data,
dir: options?.dir ?? dir,
icon: options?.icon ?? icon,
image: options?.image ?? image,
lang: options?.lang ?? lang,
renotify: options?.renotify ?? renotify,
requireInteraction: options?.requireInteraction ?? requireInteraction,
silent: options?.silent ?? silent,
tag: options?.tag ?? tag,
timestamp: options?.timestamp ?? timestamp,
vibrate: options?.vibrate ?? vibrate,
);
}