instance property

IntelligencePlatform get instance

The default instance of IntelligencePlatform to use.

Defaults to MethodChannelIntelligence.

Implementation

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

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

Implementation

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