execute method

Future<String> execute(
  1. RecaptchaAction action, {
  2. double? timeout,
})

Executes reCAPTCHA Enterprise on a user action. It is suggested the usage of 10 seconds for the timeout. The minimum value is 5 seconds.

Implementation

Future<String> execute(RecaptchaAction action, {double? timeout}) {
  return RecaptchaEnterprisePlatform.instance
      .execute(action.action, timeout: timeout);
}