VideoLayer constructor

VideoLayer({
  1. String? rid,
  2. VideoDimension? videoDimension,
  3. int? bitrate,
  4. int? fps,
  5. VideoQuality? quality,
})

Implementation

factory VideoLayer({
  $core.String? rid,
  VideoDimension? videoDimension,
  $core.int? bitrate,
  $core.int? fps,
  VideoQuality? quality,
}) {
  final $result = create();
  if (rid != null) {
    $result.rid = rid;
  }
  if (videoDimension != null) {
    $result.videoDimension = videoDimension;
  }
  if (bitrate != null) {
    $result.bitrate = bitrate;
  }
  if (fps != null) {
    $result.fps = fps;
  }
  if (quality != null) {
    $result.quality = quality;
  }
  return $result;
}