instance property
AkAdsPluginPlatform
get
instance
The default instance of AkAdsPluginPlatform to use.
Defaults to MethodChannelAkAdsPlugin.
Implementation
static AkAdsPluginPlatform get instance => _instance;
set
instance
(AkAdsPluginPlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends AkAdsPluginPlatform when they register themselves.
Implementation
static set instance(AkAdsPluginPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}