Migration constructor
Migration({
- String? fromSfuId,
- Iterable<
TrackInfo> ? announcedTracks, - Iterable<
TrackSubscriptionDetails> ? subscriptions,
Implementation
factory Migration({
$core.String? fromSfuId,
$core.Iterable<$0.TrackInfo>? announcedTracks,
$core.Iterable<$1.TrackSubscriptionDetails>? subscriptions,
}) {
final $result = create();
if (fromSfuId != null) {
$result.fromSfuId = fromSfuId;
}
if (announcedTracks != null) {
$result.announcedTracks.addAll(announcedTracks);
}
if (subscriptions != null) {
$result.subscriptions.addAll(subscriptions);
}
return $result;
}