Member constructor
Member({
- required Snowflake id,
- required String username,
- required String? nickname,
- required String? globalName,
- required String discriminator,
- required MemberAssets assets,
- required MemberFlagsManager flags,
- required int? publicFlags,
- required MemberRoleManager roles,
- required bool isBot,
- required bool isPending,
- required MemberTimeout timeout,
- required bool mfaEnabled,
- required String? locale,
- required DateTime? joinedAt,
- required Permissions permissions,
- required int? accentColor,
- required Presence? presence,
Implementation
Member({
required this.id,
required this.username,
required this.nickname,
required this.globalName,
required this.discriminator,
required this.assets,
required this.flags,
required this.premiumSince,
required this.publicFlags,
required this.roles,
required this.isBot,
required this.isPending,
required this.timeout,
required this.mfaEnabled,
required this.locale,
required this.premiumType,
required this.joinedAt,
required this.permissions,
required this.accentColor,
required this.presence,
}) {
voice = MemberVoice(this);
}