GetPropertiesResponse constructor

GetPropertiesResponse({
  1. bool? supportsPcd,
  2. IntrinsicParameters? intrinsicParameters,
  3. DistortionParameters? distortionParameters,
  4. Iterable<String>? mimeTypes,
  5. double? frameRate,
})

Implementation

factory GetPropertiesResponse({
  $core.bool? supportsPcd,
  IntrinsicParameters? intrinsicParameters,
  DistortionParameters? distortionParameters,
  $core.Iterable<$core.String>? mimeTypes,
  $core.double? frameRate,
}) {
  final $result = create();
  if (supportsPcd != null) {
    $result.supportsPcd = supportsPcd;
  }
  if (intrinsicParameters != null) {
    $result.intrinsicParameters = intrinsicParameters;
  }
  if (distortionParameters != null) {
    $result.distortionParameters = distortionParameters;
  }
  if (mimeTypes != null) {
    $result.mimeTypes.addAll(mimeTypes);
  }
  if (frameRate != null) {
    $result.frameRate = frameRate;
  }
  return $result;
}