User constructor
User({ - required Snowflake id,
- required String username,
- required String discriminator,
- String? globalName,
- String? avatar,
- bool? bot,
- bool? system,
- bool? mfaEnabled,
- String? banner,
- int? accentColor,
- String? locale,
- bool? verified,
- String? email,
- BitMask? flags,
- BitMask? premiumType,
- BitMask? publicFlags,
- AvatarDecorationData? decoration,
})
Implementation
User(
{required this.id,
required this.username,
required this.discriminator,
this.globalName,
this.avatar,
this.bot,
this.system,
this.mfaEnabled,
this.banner,
this.accentColor,
this.locale,
this.verified,
this.email,
this.flags,
this.premiumType,
this.publicFlags,
this.decoration});