instance property

CNotifySdkPlatform get instance

The default instance of CNotifySdkPlatform to use.

Defaults to MethodChannelCNotifySdk.

Implementation

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

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

Implementation

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