instance property

TrueCompassPlatform get instance

The current implementation. Defaults to MethodChannelTrueCompass.

Implementation

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

Replaces the implementation (platform packages and tests).

Implementation

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