SfuRequest constructor
SfuRequest({
- JoinRequest? joinRequest,
- HealthCheckRequest? healthCheckRequest,
- 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;
}