switchCamera method

  1. @override
Future<bool> switchCamera(
  1. CameraKitPlusCameraMode mode
)
override

Implementation

@override
Future<bool> switchCamera(CameraKitPlusCameraMode mode) async {
  final version = await methodChannel.invokeMethod<bool>('switchCamera', {
    "cameraID":mode.index
  });
  return version ?? false;
}