TrackUnpublished constructor
TrackUnpublished({
- String? userId,
- String? sessionId,
- TrackType? type,
- TrackUnpublishReason? cause,
- Participant? participant,
Implementation
factory TrackUnpublished({
$core.String? userId,
$core.String? sessionId,
$0.TrackType? type,
$0.TrackUnpublishReason? cause,
$0.Participant? participant,
}) {
final $result = create();
if (userId != null) {
$result.userId = userId;
}
if (sessionId != null) {
$result.sessionId = sessionId;
}
if (type != null) {
$result.type = type;
}
if (cause != null) {
$result.cause = cause;
}
if (participant != null) {
$result.participant = participant;
}
return $result;
}