instance property

The default instance of FingerprintPluginPlatform to use.

Defaults to MethodChannelFingerprintPlugin.

Implementation

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

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

Implementation

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