openCameraKitWithSingleLens method

  1. @override
Future<String?> openCameraKitWithSingleLens({
  1. required String lensId,
  2. required String groupId,
  3. bool isHideCloseButton = false,
})
override

Implementation

@override
Future<String?> openCameraKitWithSingleLens(
    {required String lensId,
    required String groupId,
    bool isHideCloseButton = false}) {
  final Map<String, dynamic> arguments = {
    'lensId': lensId,
    'groupId': groupId,
    'isHideCloseButton': isHideCloseButton
  };
  // Invoke the native method to open the CameraKit with single lens.
  return methodChannel.invokeMethod<String>(
      OutputMethods.openSingleLens, arguments);
}