instance property

AppscoperSdkPlatform get instance

The default instance of AppscoperSdkPlatform to use.

Defaults to MethodChannelAppscoperSdk.

Implementation

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

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

Implementation

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