ServerSettings constructor

ServerSettings({
  1. required String? bitfieldPermission,
  2. required int? afkTimeout,
  3. required bool hasWidgetEnabled,
  4. required VerificationLevel verificationLevel,
  5. required DefaultMessageNotification defaultMessageNotifications,
  6. required ExplicitContentFilter explicitContentFilter,
  7. required List<String> features,
  8. required MfaLevel mfaLevel,
  9. required List<SystemChannelFlag> systemChannelFlags,
  10. required String? vanityUrlCode,
  11. required ServerSubscription subscription,
  12. required String preferredLocale,
  13. required int? maxVideoChannelUsers,
  14. required NsfwLevel nsfwLevel,
})

Implementation

ServerSettings({
  required this.bitfieldPermission,
  required this.afkTimeout,
  required this.hasWidgetEnabled,
  required this.verificationLevel,
  required this.defaultMessageNotifications,
  required this.explicitContentFilter,
  required this.features,
  required this.mfaLevel,
  required this.systemChannelFlags,
  required this.vanityUrlCode,
  required this.subscription,
  required this.preferredLocale,
  required this.maxVideoChannelUsers,
  required this.nsfwLevel,
});