retrievePluginsWithComponents function

List<PluginWithComponents> retrievePluginsWithComponents()

Implementation

List<PluginWithComponents> retrievePluginsWithComponents() =>
    Apis.apis().getRegistryApi().componentSpecMap().entries.map((entry) {
      var key = entry.key;
      var friendlyName =
          Apis.apis().getRegistryApi().packageFriendlyNames()[key];
      return PluginWithComponents(key, friendlyName ?? '?', entry.value);
    }).toList();