rinukkusu / spotify-dart

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

Include `BaseResponseWithUrl` #197

Open hayribakici opened 9 months ago

hayribakici commented 9 months ago

Since dart 1.2.0, a new class BaseResponseWithUrl has been introduced. For this, the following could be improved:

  1. fix #154
  2. have a more streamlined authorization flow

or

we could wait until the http 2.0 implemtation is released, which contains a url in the BaseResponse^1

rinukkusu commented 9 months ago

If we abstract this check with a method, we could try and implement this already without waiting for http@2.0. Later we can remove the mixin check. So green light from me either way!