Last active
May 13, 2019 17:37
-
-
Save oligazar/1cf08c2824efbe06a29092489bed6974 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| blocLocation = BlocLocation(); | |
| blocLocation.locations | |
| .debounce(Duration(milliseconds: 500)) | |
| .where((locationData) => true) | |
| .transform(combineLatest(filter, (a, b) => LFData(a, b))) | |
| .asyncMap((data) => _getPins( | |
| categoryId: data.filter.categoryIds[0], | |
| lat: data.location.latitude, | |
| lon: data.location.longitude, | |
| radius: data.filter.radius, | |
| rating: data.filter.rating, | |
| )) | |
| .listen((pins) => _screenMap.add(pins)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment