TrackSubscriptionDetails constructor

TrackSubscriptionDetails({
  1. String? userId,
  2. String? sessionId,
  3. TrackType? trackType,
  4. VideoDimension? dimension,
})

Implementation

factory TrackSubscriptionDetails({
  $core.String? userId,
  $core.String? sessionId,
  $0.TrackType? trackType,
  $0.VideoDimension? dimension,
}) {
  final $result = create();
  if (userId != null) {
    $result.userId = userId;
  }
  if (sessionId != null) {
    $result.sessionId = sessionId;
  }
  if (trackType != null) {
    $result.trackType = trackType;
  }
  if (dimension != null) {
    $result.dimension = dimension;
  }
  return $result;
}