storesAvailable property Null safety
List all the available StoreDirectory
s
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.storeDescriptor.getSync(0)!.name))
.toList();