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