Last active
June 26, 2022 17:57
-
-
Save pawelsa/666288311546d28fc7a481562d6ad951 to your computer and use it in GitHub Desktop.
Methods to observe the database and map models to view data
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Stream<List<ContentDetailData>> observeDetailedUpcoming() => | |
_movieDao.observeAllUpcoming().asyncMap(getDetailsFromDb); | |
Stream<List<ContentDetailData>> observeDetailedPopular() => | |
_movieDao.observeAllPopular().asyncMap(getDetailsFromDb); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment