instance property

The default instance of ClickstreamAnalyticsPlusPlatform to use.

Defaults to MethodChannelClickstreamAnalyticsPlus.

Implementation

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

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

Implementation

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