setDefaultMessageNotifications method
Set the default message notifications for the server.
await server.setDefaultMessageNotifications(DefaultMessageNotification.allMessages, reason: 'Testing');
Implementation
Future<void> setDefaultMessageNotifications(DefaultMessageNotification value,
{String? reason}) async {
await _datastore.server
.update(id.value, {'default_message_notifications': value.value}, reason);
}