startFaceCapture method
Future<FaceCaptureResponse>
startFaceCapture({
- FaceCaptureConfig? config,
- CameraSwitchCallback? cameraSwitchCallback,
Implementation
Future<FaceCaptureResponse> startFaceCapture({
FaceCaptureConfig? config,
CameraSwitchCallback? cameraSwitchCallback,
}) async {
_setCameraSwitchCallback(cameraSwitchCallback);
var response = await _bridge.invokeMethod(
"startFaceCapture",
[config?.toJson()],
);
return FaceCaptureResponse.fromJson(_decode(response))!;
}