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