Role constructor

Role({
  1. required Snowflake id,
  2. required String name,
  3. required int color,
  4. required bool hoist,
  5. String? icon,
  6. String? unicodeEmoji,
  7. required int position,
  8. required BitMask perms,
  9. required bool managed,
  10. required bool mentionable,
  11. RoleTags? tags,
  12. 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});