storesAvailable property Null safety

List<StoreDirectory> storesAvailable

List all the available StoreDirectorys

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();