setHoist method
Set the role's hoist status.
await role.setHoist(true, reason: 'Testing');
Implementation
Future<void> setHoist(bool hoist, String? reason) async {
await dataStoreRole.updateRole(
id: id,
serverId: server.id,
reason: reason,
payload: {'hoist': hoist},
);
}