instance property
GrecaptchaPlatform
get
instance
The default instance of GrecaptchaPlatform to use.
Defaults to MethodChannelGrecaptcha.
Implementation
static GrecaptchaPlatform get instance => _instance;
set
instance
(GrecaptchaPlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends GrecaptchaPlatform when they register themselves.
Implementation
static set instance(GrecaptchaPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}