Liveness2DWidget constructor

Liveness2DWidget({
  1. Key? key,
  2. required String appKey,
  3. required Environment environment,
  4. required bool showFeedback,
  5. required dynamic onSuccess(
    1. LivenessSuccessResult result
    ),
  6. required dynamic onError(
    1. Object? error
    ),
})

Implementation

Liveness2DWidget({
  Key? key,
  required this.appKey,
  required this.environment,
  required this.showFeedback,
  required this.onSuccess,
  required this.onError,
}) : super(key: key);