VideoCommand constructor

VideoCommand({
  1. String? id,
  2. CameraDetails? details,
  3. Version? version,
  4. bool? takeSnapshot,
})

Implementation

factory VideoCommand({
  $core.String? id,
  CameraDetails? details,
  $0.Version? version,
  $core.bool? takeSnapshot,
}) {
  final $result = create();
  if (id != null) {
    $result.id = id;
  }
  if (details != null) {
    $result.details = details;
  }
  if (version != null) {
    $result.version = version;
  }
  if (takeSnapshot != null) {
    $result.takeSnapshot = takeSnapshot;
  }
  return $result;
}