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;
}