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