instance property

AdsCommanPlatform get instance

The default instance of AdsCommanPlatform to use.

Defaults to MethodChannelAdsComman.

Implementation

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

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

Implementation

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