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