Guild constructor
Guild({
- required String id,
- required String name,
- String? icon,
- String? iconHash,
- String? splash,
- String? discoverySplash,
- bool? owner,
- required String ownerId,
- String? permissions,
- required String region,
- String? afkChannelId,
- required int afkTimeout,
- bool? widgetEnabled,
- required int verificationLevel,
- required int defaultMessageNotifications,
- required int explicitContentFilter,
- required List<
Role> roles, - required List<
Emoji> emojis, - required List<
GuildFeature> features, - required int mfaLevel,
- String? applicationId,
- required String systemChannelId,
- required int systemChannelFlags,
- String? rulesChannelId,
- String? joinedAt,
- bool? large,
- int? memberCount,
- List<
VoiceState> ? voiceStates, - List<
Member> ? members, - List<
Channel> ? channels, - List<
PresenceUpdate> ? presences, - int? maxPresences,
- int? maxMembers,
- String? vanityUrlCode,
- String? description,
- String? banner,
- required String preferredLocale,
- String? publicUpdatesChannelId,
- int? maxVideoChannelUsers,
- int? approximateMemberCount,
- int? approximatePresenceCount,
- 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,
});