TrackPublished constructor

TrackPublished({
  1. String? userId,
  2. String? sessionId,
  3. TrackType? type,
  4. Participant? participant,
})

Implementation

factory TrackPublished({
  $core.String? userId,
  $core.String? sessionId,
  $0.TrackType? type,
  $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 (participant != null) {
    _result.participant = participant;
  }
  return _result;
}