setMentionable method
Enable or disable the role's mentionable status.
await role.setMentionable(true, reason: 'Testing');
Implementation
Future<void> setMentionable(bool value, String? reason) async {
await dataStoreRole.updateRole(
id: id,
serverId: server.id,
reason: reason,
payload: {'mentionable': value},
);
}