instance property

FaceidPlatform instance

The default instance of FaceidPlatform to use.

Defaults to MethodChannelFaceid.

Implementation

static FaceidPlatform get instance => _instance;
void instance=(FaceidPlatform instance)

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

Implementation

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