instance property

The default instance of LinklyticsFlutterPlatform to use.

Defaults to MethodChannelLinklyticsFlutter.

Implementation

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

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

Implementation

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