Role constructor
Role({ - required Snowflake id,
- required String name,
- required int color,
- required bool hoist,
- String? icon,
- String? unicodeEmoji,
- required int position,
- required BitMask perms,
- required bool managed,
- required bool mentionable,
- RoleTags? tags,
- required BitMask flags,
})
Implementation
Role(
{required this.id,
required this.name,
required this.color,
required this.hoist,
this.icon,
this.unicodeEmoji,
required this.position,
required this.perms,
required this.managed,
required this.mentionable,
this.tags,
required this.flags});