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