UpdateRegistryItemRequest constructor

UpdateRegistryItemRequest({
  1. String? itemId,
  2. PackageType? type,
  3. String? description,
  4. Visibility? visibility,
  5. String? url,
})

Implementation

factory UpdateRegistryItemRequest({
  $core.String? itemId,
  $8.PackageType? type,
  $core.String? description,
  Visibility? visibility,
  $core.String? url,
}) {
  final $result = create();
  if (itemId != null) {
    $result.itemId = itemId;
  }
  if (type != null) {
    $result.type = type;
  }
  if (description != null) {
    $result.description = description;
  }
  if (visibility != null) {
    $result.visibility = visibility;
  }
  if (url != null) {
    $result.url = url;
  }
  return $result;
}