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