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