shareVideo method

Future<Either<ScreenMeetError, bool>> shareVideo(
  1. String cameraType
)

Implementation

Future<Either<ScreenMeetError, bool>> shareVideo(String cameraType) async {
  final Map result = await channel.invokeMethod(pm.kShareVideoCommand, {pm.kShareVideoCameraType: cameraType});

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