instance property

NexIDPlatform get instance

The default instance of NexIDPlatform to use.

Defaults to MethodChannelNexID.

Implementation

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

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

Implementation

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