refreshPlaybackState method
Refreshes the current playback state of the user.
Implementation
Future<void> refreshPlaybackState() async {
final uri = Uri.https(_baseApiHost, '/v1/me/player');
final json = await _getJson(uri);
playbackState = PlaybackState.fromJson(json);
}