copyWith method
Implementation
JSNotificationAction copyWith({String? action, String? title, String? icon}) {
return JSNotificationAction(
action: action ?? this.action,
title: title ?? this.title,
icon: icon ?? this.icon,
);
}
JSNotificationAction copyWith({String? action, String? title, String? icon}) {
return JSNotificationAction(
action: action ?? this.action,
title: title ?? this.title,
icon: icon ?? this.icon,
);
}