ListPackagesRequest constructor

ListPackagesRequest({
  1. String? organizationId,
  2. String? name,
  3. String? version,
  4. PackageType? type,
  5. bool? includeUrl,
})

Implementation

factory ListPackagesRequest({
  $core.String? organizationId,
  $core.String? name,
  $core.String? version,
  PackageType? type,
  $core.bool? includeUrl,
}) {
  final $result = create();
  if (organizationId != null) {
    $result.organizationId = organizationId;
  }
  if (name != null) {
    $result.name = name;
  }
  if (version != null) {
    $result.version = version;
  }
  if (type != null) {
    $result.type = type;
  }
  if (includeUrl != null) {
    $result.includeUrl = includeUrl;
  }
  return $result;
}