markAllRead method
- String orgId
Implementation
Future<void> markAllRead(String orgId) async {
await _client
.from('org_notifications')
.update({'read_at': DateTime.now().toUtc().toIso8601String()})
.eq('org_id', orgId)
.eq('user_id', _userId)
.isFilter('read_at', null);
}