selectSource method

Future<void> selectSource(
  1. String playerId,
  2. String source
)

Handle SELECT SOURCE command on given player.

Implementation

Future<void> selectSource(String playerId, String source) async {
  await _client.sendCommand('players/cmd/select_source', args: {'player_id': playerId, 'source': source});
}