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