UpdateSubscriptionsRequest constructor

UpdateSubscriptionsRequest({
  1. String? sessionId,
  2. Iterable<TrackSubscriptionDetails>? tracks,
})

Implementation

factory UpdateSubscriptionsRequest({
  $core.String? sessionId,
  $core.Iterable<TrackSubscriptionDetails>? tracks,
}) {
  final $result = create();
  if (sessionId != null) {
    $result.sessionId = sessionId;
  }
  if (tracks != null) {
    $result.tracks.addAll(tracks);
  }
  return $result;
}