startDetect method

Future<MLLivenessCaptureResult> startDetect({
  1. bool? detectMask,
})

Implementation

Future<MLLivenessCaptureResult> startDetect({
  bool? detectMask,
}) async {
  return MLLivenessCaptureResult.fromJson(
    await _channel.invokeMethod(
      'liveness#startDetect',
      <String, dynamic>{
        'detectMask': detectMask ?? true,
      },
    ),
  );
}