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