FileUploadRequest constructor
- UploadMetadata? metadata,
- FileData? fileContents,
Implementation
factory FileUploadRequest({
UploadMetadata? metadata,
FileData? fileContents,
}) {
final $result = create();
if (metadata != null) {
$result.metadata = metadata;
}
if (fileContents != null) {
$result.fileContents = fileContents;
}
return $result;
}