Returns a store, creates it if necessary.
Optionalpinia: Pinia | nullPinia instance to retrieve the store
Optionalhot: StoreGenericdev only hot module replacement
Shows a toast.
If no timeout is given, the toast disappears after five seconds.
Error toasts have no timeout by default.
To disable the timeout, pass null explicitly.
Removes a toast.
The exact object reference to the toast object passed to addToast is needed.
A deep equal object will not work.
If the toast was already removed, this method does nothing. If the toast has a connected timeout, it is canceled.
Plugin store for showing messages to the user.