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