transferPlayback method
Transfers playback to a specific device.
If play is true, playback will start on the new device.
Implementation
Future<void> transferPlayback(String deviceId, {bool play = true}) async {
final uri = Uri.https(_baseApiHost, '/v1/me/player');
final body = {
'device_ids': [deviceId],
'play': play,
};
await _putJson(uri, body);
}