instance property

The default instance of StarxpandSdkWrapperPlatform to use.

Defaults to MethodChannelStarxpandSdkWrapper.

Implementation

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

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

Implementation

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