startDesktopMirroring method

Future<void> startDesktopMirroring(
  1. String sinkName
)

Starts mirroring the desktop to the sink.

Implementation

Future<void> startDesktopMirroring(String sinkName) async {
  await _client.send('Cast.startDesktopMirroring', {'sinkName': sinkName});
}