instance property

SmsAdvancedPlugin get instance

The default instance of SmsAdvancedPlugin to use.

Defaults to MethodChannelSmsAdvancedPlugin.

Implementation

static SmsAdvancedPlugin get instance => _instance;
set instance (SmsAdvancedPlugin instance)

Platform-specific plugins should set this with their own platform-specific class that extends SmsAdvancedPlugin when they register themselves.

Implementation

static set instance(SmsAdvancedPlugin instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}