createOtpCaptcha method

Creates an explicit CAPTCHA challenge for an OTP request.

Implementation

@override
Future<InappifySdkResult<InappifyCaptchaChallenge>> createOtpCaptcha(
  InappifyNetworkRequest request,
) {
  return _invokeResult<InappifyCaptchaChallenge>(
    method: InappifyChannelContract.createOtpCaptcha,
    payload: request.toMap(),
    decodeData: InappifyCaptchaChallenge.fromMap,
  );
}