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