verifyWithRecaptcha method
Verifies that the user is human and returns a token that your backend server can verify by making a call to the reCaptcha API.
Implementation
@override
Future<String> verifyWithRecaptcha(String siteKey) async {
if (!await isAvailable) {
throw const ReCaptchaNotAvailableException();
}
return await methodChannel.invokeMethod("verify", {"key": siteKey});
}