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