VideoStream constructor
VideoStream({})
Implementation
factory VideoStream({
$core.int? widthPixels,
$core.int? heightPixels,
$core.int? frameRateFps,
$core.int? aspectRatio,
$core.Iterable<VideoSegment>? videoSegments,
}) {
final _result = create();
if (widthPixels != null) {
_result.widthPixels = widthPixels;
}
if (heightPixels != null) {
_result.heightPixels = heightPixels;
}
if (frameRateFps != null) {
_result.frameRateFps = frameRateFps;
}
if (aspectRatio != null) {
_result.aspectRatio = aspectRatio;
}
if (videoSegments != null) {
_result.videoSegments.addAll(videoSegments);
}
return _result;
}