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