Role constructor

Role({
  1. required Snowflake id,
  2. required String name,
  3. required Color color,
  4. required bool hoist,
  5. required int position,
  6. required Permissions permissions,
  7. required bool managed,
  8. required bool mentionable,
  9. required int flags,
  10. required String? icon,
  11. required String? unicodeEmoji,
})

Implementation

Role({
  required this.id,
  required this.name,
  required this.color,
  required this.hoist,
  required this.position,
  required this.permissions,
  required this.managed,
  required this.mentionable,
  required this.flags,
  required this.icon,
  required this.unicodeEmoji,
});