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