notification:create(message: "Profile Information updated.", icon_name: "account_circle")
Show Once Per Session
By settings $show_once_per_session to TRUE, the notification will show only once for the entire duration of your user's session.
notification:create(message: "This will show only once", title: "Show Once", show_once_per_session: TRUE)
Add Notification Actions
You can add a primary and a secondary actions to every notification. Both primary and secondary actions accept 3 arguments, label, href, and attributes. Both actions label argument is required.
notification:create("Notification with Actions", primary_action_label: "Primary", secondary_action_label: "Secondary")q