CameraDetails constructor
CameraDetails({ - CameraName? name,
- int? resolutionWidth,
- int? resolutionHeight,
- int? quality,
- int? fps,
- CameraStatus? status,
- bool? autofocus,
- int? zoom,
- int? pan,
- int? tilt,
- int? focus,
- double? diagonalFov,
- double? horizontalFov,
- double? verticalFov,
- int? streamWidth,
- int? streamHeight,
})
Implementation
factory CameraDetails({
CameraName? name,
$core.int? resolutionWidth,
$core.int? resolutionHeight,
$core.int? quality,
$core.int? fps,
CameraStatus? status,
$core.bool? autofocus,
$core.int? zoom,
$core.int? pan,
$core.int? tilt,
$core.int? focus,
$core.double? diagonalFov,
$core.double? horizontalFov,
$core.double? verticalFov,
$core.int? streamWidth,
$core.int? streamHeight,
}) {
final $result = create();
if (name != null) {
$result.name = name;
}
if (resolutionWidth != null) {
$result.resolutionWidth = resolutionWidth;
}
if (resolutionHeight != null) {
$result.resolutionHeight = resolutionHeight;
}
if (quality != null) {
$result.quality = quality;
}
if (fps != null) {
$result.fps = fps;
}
if (status != null) {
$result.status = status;
}
if (autofocus != null) {
$result.autofocus = autofocus;
}
if (zoom != null) {
$result.zoom = zoom;
}
if (pan != null) {
$result.pan = pan;
}
if (tilt != null) {
$result.tilt = tilt;
}
if (focus != null) {
$result.focus = focus;
}
if (diagonalFov != null) {
$result.diagonalFov = diagonalFov;
}
if (horizontalFov != null) {
$result.horizontalFov = horizontalFov;
}
if (verticalFov != null) {
$result.verticalFov = verticalFov;
}
if (streamWidth != null) {
$result.streamWidth = streamWidth;
}
if (streamHeight != null) {
$result.streamHeight = streamHeight;
}
return $result;
}