CaptureMetadata constructor

CaptureMetadata({
  1. String? organizationId,
  2. String? locationId,
  3. String? robotName,
  4. String? robotId,
  5. String? partName,
  6. String? partId,
  7. String? componentType,
  8. String? componentName,
  9. String? methodName,
  10. Map<String, Any>? methodParameters,
  11. Iterable<String>? tags,
  12. String? mimeType,
})

Implementation

factory CaptureMetadata({
  $core.String? organizationId,
  $core.String? locationId,
  $core.String? robotName,
  $core.String? robotId,
  $core.String? partName,
  $core.String? partId,
  $core.String? componentType,
  $core.String? componentName,
  $core.String? methodName,
  $core.Map<$core.String, $45.Any>? methodParameters,
  $core.Iterable<$core.String>? tags,
  $core.String? mimeType,
}) {
  final $result = create();
  if (organizationId != null) {
    $result.organizationId = organizationId;
  }
  if (locationId != null) {
    $result.locationId = locationId;
  }
  if (robotName != null) {
    $result.robotName = robotName;
  }
  if (robotId != null) {
    $result.robotId = robotId;
  }
  if (partName != null) {
    $result.partName = partName;
  }
  if (partId != null) {
    $result.partId = partId;
  }
  if (componentType != null) {
    $result.componentType = componentType;
  }
  if (componentName != null) {
    $result.componentName = componentName;
  }
  if (methodName != null) {
    $result.methodName = methodName;
  }
  if (methodParameters != null) {
    $result.methodParameters.addAll(methodParameters);
  }
  if (tags != null) {
    $result.tags.addAll(tags);
  }
  if (mimeType != null) {
    $result.mimeType = mimeType;
  }
  return $result;
}