create static method
CameraConfigMsg
create({
- String? selectedCamera,
- Map<
String, String> ? cameraNames, - CameraTimingMsg? shutterTiming,
Implementation
static CameraConfigMsg create({
String? selectedCamera,
Map<String, String>? cameraNames,
CameraTimingMsg? shutterTiming,
}) {
final $o = CameraConfigMsg();
if (selectedCamera != null) {
$o.selectedCamera = selectedCamera;
}
if (cameraNames != null) {
$o.cameraNames.addAll(cameraNames);
}
if (shutterTiming != null) {
$o.shutterTiming = shutterTiming;
}
return $o;
}