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,
})
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,
}) {
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;
}
return $result;
}