storesAvailable property

List<StoreDirectory> storesAvailable

List all the available StoreDirectorys synchronously

Prefer storesAvailableAsync to avoid blocking the UI thread. Otherwise, this has slightly better performance.

Implementation

List<StoreDirectory> get storesAvailable => _registry.storeDatabases.values
    .map(
      (e) => StoreDirectory._(
        e.descriptorSync.name,
        autoCreate: false,
      ),
    )
    .toList();