Guild constructor

Guild({
  1. required String id,
  2. required String name,
  3. String? icon,
  4. String? iconHash,
  5. String? splash,
  6. String? discoverySplash,
  7. bool? owner,
  8. required String ownerId,
  9. String? permissions,
  10. required String region,
  11. String? afkChannelId,
  12. required int afkTimeout,
  13. bool? widgetEnabled,
  14. required int verificationLevel,
  15. required int defaultMessageNotifications,
  16. required int explicitContentFilter,
  17. required List<Role> roles,
  18. required List<Emoji> emojis,
  19. required List<GuildFeature> features,
  20. required int mfaLevel,
  21. String? applicationId,
  22. required String systemChannelId,
  23. required int systemChannelFlags,
  24. String? rulesChannelId,
  25. String? joinedAt,
  26. bool? large,
  27. bool? unavailable,
  28. int? memberCount,
  29. List<VoiceState>? voiceStates,
  30. List<Member>? members,
  31. List<Channel>? channels,
  32. List<PresenceUpdate>? presences,
  33. int? maxPresences,
  34. int? maxMembers,
  35. String? vanityUrlCode,
  36. String? description,
  37. String? banner,
  38. required int premiumTier,
  39. int? premiumSubscriptionCount,
  40. required String preferredLocale,
  41. String? publicUpdatesChannelId,
  42. int? maxVideoChannelUsers,
  43. int? approximateMemberCount,
  44. int? approximatePresenceCount,
  45. WelcomeScreen? welcomeScreen,
})

Implementation

Guild({
  required this.id,
  required this.name,
  this.icon,
  this.iconHash,
  this.splash,
  this.discoverySplash,
  this.owner,
  required this.ownerId,
  this.permissions,
  required this.region,
  this.afkChannelId,
  required this.afkTimeout,
  this.widgetEnabled,
  required this.verificationLevel,
  required this.defaultMessageNotifications,
  required this.explicitContentFilter,
  required this.roles,
  required this.emojis,
  required this.features,
  required this.mfaLevel,
  this.applicationId,
  required this.systemChannelId,
  required this.systemChannelFlags,
  this.rulesChannelId,
  this.joinedAt,
  this.large,
  this.unavailable,
  this.memberCount,
  this.voiceStates,
  this.members,
  this.channels,
  this.presences,
  this.maxPresences,
  this.maxMembers,
  this.vanityUrlCode,
  this.description,
  this.banner,
  required this.premiumTier,
  this.premiumSubscriptionCount,
  required this.preferredLocale,
  this.publicUpdatesChannelId,
  this.maxVideoChannelUsers,
  this.approximateMemberCount,
  this.approximatePresenceCount,
  this.welcomeScreen,
});