instance property

The default instance of ShareWhatsappPlatform to use.

Defaults to MethodChannelShareWhatsapp.

Implementation

static ShareWhatsappPlatform get instance => _instance;
void instance=(ShareWhatsappPlatform instance)

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

Implementation

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