instance property

AndroidSmsKitPlatform get instance

The default instance of AndroidSmsKitPlatform to use.

Defaults to MethodChannelAndroidSmsKit.

Implementation

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

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

Implementation

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