instance property

The default instance of RavenVerificationPlatform to use.

Defaults to MethodChannelRavenVerification.

Implementation

static RavenVerificationPlatform get instance => _instance;
set instance (RavenVerificationPlatform instance)

Platform-specific implementations should set this with their own platform-specific class that extends RavenVerificationPlatform when they register themselves.

Implementation

static set instance(RavenVerificationPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}