findToastificationItem method
finds and returns a ToastificationItem by its id
if there is no notification with the given id it will return null
Implementation
ToastificationItem? findToastificationItem(String id) {
try {
for (final manager in managers.values) {
final foundValue = manager.findToastificationItem(id);
if (foundValue != null) {
return foundValue;
}
}
} catch (e) {
return null;
}
return null;
}