DiscoverResourcesResponse constructor

DiscoverResourcesResponse({
  1. Iterable<ComponentConfig>? discoveries,
})

Implementation

factory DiscoverResourcesResponse({
  $core.Iterable<$13.ComponentConfig>? discoveries,
}) {
  final $result = create();
  if (discoveries != null) {
    $result.discoveries.addAll(discoveries);
  }
  return $result;
}