stopVideoSharing method

Future<Either<ScreenMeetError, bool>> stopVideoSharing()

Stop sharing your video

Implementation

Future<Either<ScreenMeetError, bool>> stopVideoSharing() async {
  _keepOnTakingScreenShots = false;
  final Map result = await _channel.invokeMethod(_pm.kStopSharingVideoCommand);

  if (_pm.isSuccess(result)) { return Right(true);}
  return Left(_pm.error(result));
}