startFaceDetection method
Start face detection and verification process
Opens a native SDK screen for face detection and identity verification. Returns FaceDetectionResult if successful, null if cancelled or failed.
Parameters:
config: SDK configuration including access token, language, etc.
Throws PlatformException if there's an error starting the SDK.
Implementation
Future<FaceDetectionResult?> startFaceDetection(SdkConfig config) {
return FacedetectTadiSdkPlatform.instance.startFaceDetection(config);
}