chengeRole method

Future chengeRole(
  1. int participantId,
  2. int newRoleId
)

Implementation

Future chengeRole(int participantId, int newRoleId) {
  return client.put("/event/participant/$participantId", {"role_id": newRoleId});
}