instance property

OitiLiveness3dPlatform get instance

The default instance of OitiLiveness3dPlatform to use.

Defaults to MethodChannelOitiLiveness3d.

Implementation

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

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

Implementation

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