User constructor
User({
- required Snowflake id,
- required String username,
- required String discriminator,
- required String? avatar,
- required bool? bot,
- required bool? system,
- required bool? mfaEnabled,
- required String? locale,
- required bool? verified,
- required String? email,
- required int? flags,
- required int? publicFlags,
- required UserAssets assets,
- required DateTime? createdAt,
- required Presence? presence,
Implementation
User({
required this.id,
required this.username,
required this.discriminator,
required this.avatar,
required this.bot,
required this.system,
required this.mfaEnabled,
required this.locale,
required this.verified,
required this.email,
required this.flags,
required this.premiumType,
required this.publicFlags,
required this.assets,
required this.createdAt,
required this.presence,
});