instance property

EasySmsPlatform get instance

The default instance of EasySmsPlatform to use.

Defaults to MethodChannelEasySms.

Implementation

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

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

Implementation

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