rinukkusu / spotify-dart

A dart library for interfacing with the Spotify API.
BSD 3-Clause "New" or "Revised" License
191 stars 91 forks source link

Add filter function to pagination logic and use it in playlists #219

Closed Skycoder42 closed 2 weeks ago

Skycoder42 commented 2 weeks ago

This PR is a followup to the discussion in #218. It follows the second approach described there that uses a filter function instead of returning nullable track objects.

I decided to create a 2nd PR so both approaches can be discussed and evaluated before a decision will be made.

rinukkusu commented 2 weeks ago

@Skycoder42 Looks good - would you be willing to also add a unit test for this new feature?

@hayribakici ❤️🤝 hehe