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