instance property

QrBarCodePlatform get instance

The default instance of QrBarCodePlatform to use.

Defaults to MethodChannelQrBarCode.

Implementation

static QrBarCodePlatform get instance => _instance;
set instance (QrBarCodePlatform instance)

Platform-specific implementations should set this with their own platform-specific class that extends QrBarCodePlatform when they register themselves.

Implementation

static set instance(QrBarCodePlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}