GuildResponse constructor

const GuildResponse({
  1. required ContentWarningLevel contentWarningLevel,
  2. required String name,
  3. required int afkTimeout,
  4. required GuildResponseSplashCardAlignmentSplashCardAlignment splashCardAlignment,
  5. required String id,
  6. required String ownerId,
  7. required GuildOperations disabledOperations,
  8. required NsfwLevel nsfwLevel,
  9. required GuildMfaLevel mfaLevel,
  10. required DefaultMessageNotifications defaultMessageNotifications,
  11. required GuildVerificationLevel verificationLevel,
  12. required List<GuildFeatureSchema> features,
  13. required SystemChannelFlags systemChannelFlags,
  14. required GuildExplicitContentFilter explicitContentFilter,
  15. required bool nsfw,
  16. SnowflakeType? systemChannelId,
  17. Int32Type? embedSplashHeight,
  18. SnowflakeType? rulesChannelId,
  19. SnowflakeType? afkChannelId,
  20. String? vanityUrlCode,
  21. Int32Type? embedSplashWidth,
  22. String? embedSplash,
  23. Int32Type? splashHeight,
  24. Int32Type? splashWidth,
  25. Int32Type? bannerHeight,
  26. Int32Type? approximatePresenceCount,
  27. String? contentWarningText,
  28. Int32Type? bannerWidth,
  29. String? banner,
  30. String? icon,
  31. DateTime? messageHistoryCutoff,
  32. String? permissions,
  33. List<GuildRoleResponse>? roles,
  34. List<GuildEmojiResponse>? emojis,
  35. List<GuildStickerResponse>? stickers,
  36. List<ChannelResponse>? channels,
  37. Int32Type? memberCount,
  38. Int32Type? onlineCount,
  39. Int32Type? approximateMemberCount,
  40. String? splash,
})

Implementation

const GuildResponse({
  required this.contentWarningLevel,
  required this.name,
  required this.afkTimeout,
  required this.splashCardAlignment,
  required this.id,
  required this.ownerId,
  required this.disabledOperations,
  required this.nsfwLevel,
  required this.mfaLevel,
  required this.defaultMessageNotifications,
  required this.verificationLevel,
  required this.features,
  required this.systemChannelFlags,
  required this.explicitContentFilter,
  required this.nsfw,
  this.systemChannelId,
  this.embedSplashHeight,
  this.rulesChannelId,
  this.afkChannelId,
  this.vanityUrlCode,
  this.embedSplashWidth,
  this.embedSplash,
  this.splashHeight,
  this.splashWidth,
  this.bannerHeight,
  this.approximatePresenceCount,
  this.contentWarningText,
  this.bannerWidth,
  this.banner,
  this.icon,
  this.messageHistoryCutoff,
  this.permissions,
  this.roles,
  this.emojis,
  this.stickers,
  this.channels,
  this.memberCount,
  this.onlineCount,
  this.approximateMemberCount,
  this.splash,
});