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