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