ModuleFileInfo constructor

ModuleFileInfo({
  1. String? moduleId,
  2. String? version,
  3. String? platform,
  4. Iterable<String>? platformTags,
})

Implementation

factory ModuleFileInfo({
  $core.String? moduleId,
  $core.String? version,
  $core.String? platform,
  $core.Iterable<$core.String>? platformTags,
}) {
  final $result = create();
  if (moduleId != null) {
    $result.moduleId = moduleId;
  }
  if (version != null) {
    $result.version = version;
  }
  if (platform != null) {
    $result.platform = platform;
  }
  if (platformTags != null) {
    $result.platformTags.addAll(platformTags);
  }
  return $result;
}