instance property

YuzIDPlatform get instance

The default instance of YuzIDPlatform to use.

Defaults to MethodChannelYuzID.

Implementation

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

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

Implementation

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