instance property

The default instance of CustomAdvancedSmsPlugin to use.

Defaults to MethodChannelCustomAdvancedSmsPlugin.

Implementation

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

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

Implementation

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