openCameraKit method

  1. @override
Future<String?> openCameraKit({
  1. required List<String> groupIds,
  2. bool isHideCloseButton = false,
})
override

Implementation

@override
Future<String?> openCameraKit(
    {required List<String> groupIds, bool isHideCloseButton = false}) {
  final Map<String, dynamic> arguments = {
    'groupIds': groupIds,
    'isHideCloseButton': isHideCloseButton
  };
  // Invoke the native method to open the CameraKit.
  return methodChannel.invokeMethod<String>(
      OutputMethods.openSnapCameraKit, arguments);
}