setExplicitContentFilter method
Set the explicit content filter for the server.
await server.setExplicitContentFilter(ExplicitContentFilter.disabled, reason: 'Testing');
Implementation
Future<void> setExplicitContentFilter(ExplicitContentFilter value,
{String? reason}) async {
await _serverPart.updateServer(
id, {'explicit_content_filter': value.value}, reason);
}