code: def _index_classes(self) -> Dict[Text, Type[Platform]]:
          
  
          out = {}
  
          for p in get_platform_settings():
              cls: Type[Platform] = import_class(p['class'])
  
              if 'name' in p:
                  out[p['name']] = cls
              else:
                  out[cls.NAME] = cls
  
          return out
docs: Build a name index for all platform classes