stopScreenShare method

Future<void> stopScreenShare()

Stops sharing the screen.

Implementation

Future<void> stopScreenShare() async {
  try {
    await _coordinator.hostApi.stopScreenShare();
  } on PlatformException catch (e) {
    throw ChimeDeviceException('Failed to stop screen share', e.message);
  }
}