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