instance property

GeniusSdkPlatform get instance

The default instance of GeniusSdkPlatform to use.

Defaults to MethodChannelGeniusSdk.

Implementation

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

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

Implementation

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