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