transfer method

Future<void> transfer(
  1. String sourceQueueId,
  2. String targetQueueId, {
  3. bool? autoPlay,
})

Transfer queue to another queue.

Implementation

Future<void> transfer(String sourceQueueId, String targetQueueId, {bool? autoPlay}) async {
  await _client.sendCommand(
    'player_queues/transfer',
    args: {'source_queue_id': sourceQueueId, 'target_queue_id': targetQueueId, 'auto_play': autoPlay},
  );
}