MethodChannelGrecaptcha class
An implementation of GrecaptchaPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- GrecaptchaPlatform
- MethodChannelGrecaptcha
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
isAvailable
→ Future<
bool> -
Returns true when the API is available, which should be the case if the
app is running on Android. The plugin will throw an exception when used
on platforms where it's not available.
no setteroverride
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getPlatformVersion(
) → Future< String?> -
override
-
googlePlayServicesAvailability(
) → Future< GooglePlayServicesAvailability?> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
verifyWithRecaptcha(
String siteKey) → Future< String> -
Verifies that the user is human and returns a token that your backend
server can verify by making a call to the reCaptcha API.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited