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