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