setHoist method

Future<void> setHoist(
  1. bool hoist,
  2. String? reason
)

Implementation

Future<void> setHoist(bool hoist, String? reason) async {
  await dataStoreRole.updateRole(
    id: id,
    serverId: server.id,
    reason: reason,
    payload: {'hoist': hoist},
  );
}