GuildResponse constructor

const GuildResponse({
  1. required GuildOperations disabledOperations,
  2. required String name,
  3. required bool nsfw,
  4. required GuildResponseSplashCardAlignmentSplashCardAlignment splashCardAlignment,
  5. required String id,
  6. required String ownerId,
  7. required SystemChannelFlags systemChannelFlags,
  8. required int afkTimeout,
  9. required List<GuildFeatureSchema> features,
  10. required GuildVerificationLevel verificationLevel,
  11. required GuildMfaLevel mfaLevel,
  12. required NsfwLevel nsfwLevel,
  13. required ContentWarningLevel contentWarningLevel,
  14. required GuildExplicitContentFilter explicitContentFilter,
  15. required DefaultMessageNotifications defaultMessageNotifications,
  16. Int32Type? embedSplashHeight,
  17. String? icon,
  18. SnowflakeType? rulesChannelId,
  19. SnowflakeType? afkChannelId,
  20. Int32Type? splashWidth,
  21. Int32Type? splashHeight,
  22. String? banner,
  23. String? embedSplash,
  24. Int32Type? embedSplashWidth,
  25. Int32Type? onlineCount,
  26. Int32Type? bannerWidth,
  27. String? contentWarningText,
  28. String? vanityUrlCode,
  29. Int32Type? bannerHeight,
  30. SnowflakeType? systemChannelId,
  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. String? splash,
})

Implementation

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