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