VideoMediaRequest constructor

VideoMediaRequest({
  1. int? idealHeight,
  2. int? idealWidth,
  3. int? idealFrameRate,
})

Implementation

factory VideoMediaRequest({
  $core.int? idealHeight,
  $core.int? idealWidth,
  $core.int? idealFrameRate,
}) {
  final _result = create();
  if (idealHeight != null) {
    _result.idealHeight = idealHeight;
  }
  if (idealWidth != null) {
    _result.idealWidth = idealWidth;
  }
  if (idealFrameRate != null) {
    _result.idealFrameRate = idealFrameRate;
  }
  return _result;
}