instance property

AdMelSdkPlatform get instance

The default instance of AdMelSdkPlatform to use.

Defaults to MethodChannelAdMelSdk.

Implementation

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

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

Implementation

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