markRead method
Marks a notification as read.
Implementation
void markRead(String id) {
final notification = _findById(id);
if (notification != null) {
notification.read = true;
}
}
Marks a notification as read.
void markRead(String id) {
final notification = _findById(id);
if (notification != null) {
notification.read = true;
}
}