setSinkToUse method
Sets a sink to be used when the web page requests the browser to choose a sink via Presentation API, Remote Playback API, or Cast SDK.
Implementation
Future<void> setSinkToUse(String sinkName) async {
await _client.send('Cast.setSinkToUse', {
'sinkName': sinkName,
});
}