verifyOtp method

Verifies an OTP challenge and updates the authoritative session.

Implementation

@override
Future<InappifySdkResult<InappifyAuthenticationResult>> verifyOtp(
  InappifyOtpVerificationRequest request,
) {
  return _invokeResult<InappifyAuthenticationResult>(
    method: InappifyChannelContract.verifyOtp,
    payload: request.toMap(),
    decodeData: InappifyAuthenticationResult.fromMap,
  );
}