instance property

Returns an assigned delegate instance.

On platforms which do not support Recaptcha Verifier, an UnimplementedError will be thrown.

Implementation

static RecaptchaVerifierFactoryPlatform get instance {
  if (_instance == null) {
    throw UnimplementedError('RecaptchaVerifier is not implemented');
  }

  return _instance!;
}
void instance=(RecaptchaVerifierFactoryPlatform instance)

Sets a factory delegate as the current RecaptchaVerifierFactoryPlatform instance.

Implementation

static set instance(RecaptchaVerifierFactoryPlatform instance) {
  PlatformInterface.verify(instance, _token);
  _instance = instance;
}