/** * Creates a new notification with the given title, body and icon. Overrides the options set via * {@link Notification}. * * @param title Title of the notification. * @param body Body of the notification. * @param icon URL to the notifications icon. */ public WebpushNotification(String title, String body, @Nullable String icon) { this(builder().setTitle(title).setBody(body).setIcon(icon)); }