DataCaptureMetadata constructor

DataCaptureMetadata({
  1. String? componentType,
  2. String? componentName,
  3. String? methodName,
  4. DataType? type,
  5. Map<String, Any>? methodParameters,
  6. String? fileExtension,
  7. Iterable<String>? tags,
})

Implementation

factory DataCaptureMetadata({
  $core.String? componentType,
  $core.String? componentName,
  $core.String? methodName,
  DataType? type,
  $core.Map<$core.String, $45.Any>? methodParameters,
  $core.String? fileExtension,
  $core.Iterable<$core.String>? tags,
}) {
  final $result = create();
  if (componentType != null) {
    $result.componentType = componentType;
  }
  if (componentName != null) {
    $result.componentName = componentName;
  }
  if (methodName != null) {
    $result.methodName = methodName;
  }
  if (type != null) {
    $result.type = type;
  }
  if (methodParameters != null) {
    $result.methodParameters.addAll(methodParameters);
  }
  if (fileExtension != null) {
    $result.fileExtension = fileExtension;
  }
  if (tags != null) {
    $result.tags.addAll(tags);
  }
  return $result;
}