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