switchCamera method

Future<int?> switchCamera()

Implementation

Future<int?> switchCamera() {
  RoomStore.to.videoSetting.isFrontCamera =
      !RoomStore.to.videoSetting.isFrontCamera;
  return _roomEngine.switchCamera(RoomStore.to.videoSetting.isFrontCamera);
}