commitAll method

Stream<AlbumOre> commitAll(
  1. Iterable<Album?> ore
)

Implementation

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