ListPackagesResponse constructor

ListPackagesResponse({
  1. Iterable<Package>? packages,
})

Implementation

factory ListPackagesResponse({
  $core.Iterable<Package>? packages,
}) {
  final $result = create();
  if (packages != null) {
    $result.packages.addAll(packages);
  }
  return $result;
}