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