storesAvailable property
List<StoreDirectory>
storesAvailable
List all the available StoreDirectory
s 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();