instance property

The default instance of FastBarcodeScannerPlatform to use.

Defaults to MethodChannelFastBarcodeScanner.

Implementation

static FastBarcodeScannerPlatform get instance => _instance;
void instance=(FastBarcodeScannerPlatform instance)

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

Implementation

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