storesAvailableAsync property Null safety

Future<List<StoreDirectory>> storesAvailableAsync

List all the available StoreDirectorys

Implementation

Future<List<StoreDirectory>> get storesAvailableAsync => Future.wait(
      _registry.storeDatabases.values.map(
        (e) async => StoreDirectory._((await e.storeDescriptor.get(0))!.name),
      ),
    );