startLiveness method

Future<LivenessResponse?> startLiveness()

Implementation

Future<LivenessResponse?> startLiveness() async {
  var result = await faceSdk.startLiveness(
    config: LivenessConfig(skipStep: [LivenessSkipStep.ONBOARDING_STEP]),
    notificationCompletion: (notification) {
      print(notification.status);
    },
  );
  return result;
}