instance property
FaceLivelynessDetectionPlatform
get
instance
The default instance of FaceLivelynessDetectionPlatform to use.
Defaults to MethodChannelFaceLivelynessDetection.
Implementation
static FaceLivelynessDetectionPlatform get instance => _instance;
set
instance
(FaceLivelynessDetectionPlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends FaceLivelynessDetectionPlatform when they register themselves.
Implementation
static set instance(FaceLivelynessDetectionPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}