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