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