Right now, we can dismiss a toast by using toast.dismiss() and providing the toastId.
I propose adding regex matching functionality to toast.dismiss(). This way, we'd be able to pass a regex pattern to toast.dismiss() and it would dismiss all the toasts whose ids match that regex pattern.
Right now, we can dismiss a toast by using
toast.dismiss()
and providing thetoastId
.I propose adding regex matching functionality to
toast.dismiss()
. This way, we'd be able to pass a regex pattern totoast.dismiss()
and it would dismiss all the toasts whose ids match that regex pattern.