deleteAll method

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

Implementation

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