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