Property constructor

Property({
  1. int? widthPx,
  2. int? heightPx,
  3. String? frameFormat,
  4. double? frameRate,
})

Implementation

factory Property({
  $core.int? widthPx,
  $core.int? heightPx,
  $core.String? frameFormat,
  $core.double? frameRate,
}) {
  final $result = create();
  if (widthPx != null) {
    $result.widthPx = widthPx;
  }
  if (heightPx != null) {
    $result.heightPx = heightPx;
  }
  if (frameFormat != null) {
    $result.frameFormat = frameFormat;
  }
  if (frameRate != null) {
    $result.frameRate = frameRate;
  }
  return $result;
}