createAll method

Stream<AlbumOre> createAll(
  1. Iterable<Album?> ore,
  2. String dir
)

Implementation

Stream<AlbumOre> createAll(Iterable<Album?> ore, String dir) async* {
  final List<Album> albums = ore.where((a) => a != null).toList().cast();
  yield* Stream.fromFutures(albums.map((a) async => await create(a, dir)));
}