instance property

WinTrackerPlatform get instance

The default instance of WinTrackerPlatform to use.

Defaults to MethodChannelWinTracker.

Implementation

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

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

Implementation

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