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