setExplicitContentFilter method

Future<void> setExplicitContentFilter(
  1. ExplicitContentFilter value, {
  2. String? reason,
})

Implementation

Future<void> setExplicitContentFilter(ExplicitContentFilter value,
    {String? reason}) async {
  await _serverPart.updateServer(
      id, {'explicit_content_filter': value.value}, reason);
}