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