SendMetricsRequest constructor
SendMetricsRequest({
- String? sessionId,
- String? unifiedSessionId,
- Iterable<
InboundRtp> ? inbounds, - Iterable<
OutboundRtp> ? outbounds, - Iterable<
RemoteInboundRtp> ? remoteInbounds, - Iterable<
RemoteOutboundRtp> ? remoteOutbounds,
Implementation
factory SendMetricsRequest({
$core.String? sessionId,
$core.String? unifiedSessionId,
$core.Iterable<$0.InboundRtp>? inbounds,
$core.Iterable<$0.OutboundRtp>? outbounds,
$core.Iterable<$0.RemoteInboundRtp>? remoteInbounds,
$core.Iterable<$0.RemoteOutboundRtp>? remoteOutbounds,
}) {
final result = create();
if (sessionId != null) result.sessionId = sessionId;
if (unifiedSessionId != null) result.unifiedSessionId = unifiedSessionId;
if (inbounds != null) result.inbounds.addAll(inbounds);
if (outbounds != null) result.outbounds.addAll(outbounds);
if (remoteInbounds != null) result.remoteInbounds.addAll(remoteInbounds);
if (remoteOutbounds != null) result.remoteOutbounds.addAll(remoteOutbounds);
return result;
}