UploadMetadata constructor
UploadMetadata({})
Implementation
factory UploadMetadata({
$core.String? partId,
$core.String? componentType,
$core.String? componentName,
$core.String? methodName,
DataType? type,
$core.String? fileName,
$core.Map<$core.String, $45.Any>? methodParameters,
$core.String? fileExtension,
$core.Iterable<$core.String>? tags,
}) {
final $result = create();
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 (type != null) {
$result.type = type;
}
if (fileName != null) {
$result.fileName = fileName;
}
if (methodParameters != null) {
$result.methodParameters.addAll(methodParameters);
}
if (fileExtension != null) {
$result.fileExtension = fileExtension;
}
if (tags != null) {
$result.tags.addAll(tags);
}
return $result;
}