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