instance property

NotixAdsPlatform get instance

The default instance of NotixAdsPlatform to use.

Defaults to MethodChannelNotixAds.

Implementation

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

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

Implementation

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