ModuleVersion constructor
ModuleVersion({})
Implementation
factory ModuleVersion({
$core.String? version,
$core.Iterable<Uploads>? files,
$core.Iterable<Model>? models,
$core.String? entrypoint,
$core.String? firstRun,
}) {
final $result = create();
if (version != null) {
$result.version = version;
}
if (files != null) {
$result.files.addAll(files);
}
if (models != null) {
$result.models.addAll(models);
}
if (entrypoint != null) {
$result.entrypoint = entrypoint;
}
if (firstRun != null) {
$result.firstRun = firstRun;
}
return $result;
}