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