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