Webcam constructor

Webcam({
  1. String? label,
  2. String? status,
  3. Iterable<Property>? properties,
  4. String? name,
  5. String? id,
})

Implementation

factory Webcam({
  $core.String? label,
  $core.String? status,
  $core.Iterable<Property>? properties,
  $core.String? name,
  $core.String? id,
}) {
  final $result = create();
  if (label != null) {
    $result.label = label;
  }
  if (status != null) {
    $result.status = status;
  }
  if (properties != null) {
    $result.properties.addAll(properties);
  }
  if (name != null) {
    $result.name = name;
  }
  if (id != null) {
    $result.id = id;
  }
  return $result;
}