instance property

SendSmsPlatform get instance

The default instance of SendSmsPlatform to use.

Defaults to MethodChannelSendSms.

Implementation

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

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

Implementation

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