dismiss method
dismisses the given notification
if the notification is not in the list, nothing will happen
Implementation
void dismiss(
ToastificationItem notification, {
bool showRemoveAnimation = true,
}) {
final manager = managers[notification.alignment];
if (manager != null) {
manager.dismiss(notification, showRemoveAnimation: showRemoveAnimation);
}
}