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 _serverPart.updateServer(
id, {'default_message_notifications': value.value}, reason);
}