refreshModelsCache method

Future<List<ModelInfo>> refreshModelsCache()

Force-refreshes the models cache and returns the updated list.

Implementation

Future<List<ModelInfo>> refreshModelsCache() async {
  _modelsCache = null;
  return listModels();
}