ModuleVersion constructor

ModuleVersion({
  1. String? version,
  2. Iterable<Uploads>? files,
  3. Iterable<Model>? models,
  4. String? entrypoint,
  5. String? firstRun,
  6. String? markdownDescription,
  7. Iterable<App>? apps,
})

Implementation

factory ModuleVersion({
  $core.String? version,
  $core.Iterable<Uploads>? files,
  $core.Iterable<Model>? models,
  $core.String? entrypoint,
  $core.String? firstRun,
  $core.String? markdownDescription,
  $core.Iterable<App>? apps,
}) {
  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;
  }
  if (markdownDescription != null) {
    $result.markdownDescription = markdownDescription;
  }
  if (apps != null) {
    $result.apps.addAll(apps);
  }
  return $result;
}