SfuRequest constructor

SfuRequest({
  1. JoinRequest? joinRequest,
  2. HealthCheckRequest? healthCheckRequest,
  3. LeaveCallRequest? leaveCallRequest,
})

Implementation

factory SfuRequest({
  JoinRequest? joinRequest,
  HealthCheckRequest? healthCheckRequest,
  LeaveCallRequest? leaveCallRequest,
}) {
  final $result = create();
  if (joinRequest != null) {
    $result.joinRequest = joinRequest;
  }
  if (healthCheckRequest != null) {
    $result.healthCheckRequest = healthCheckRequest;
  }
  if (leaveCallRequest != null) {
    $result.leaveCallRequest = leaveCallRequest;
  }
  return $result;
}