instance property

The default instance of MantraBiometricPlatform to use.

Defaults to MethodChannelMantraBiometric.

Implementation

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

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

Implementation

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