instance property

CMPSdkPlatform get instance

The default instance of CMPSdkPlatform to use.

Defaults to MethodChannelCMPSdk.

Implementation

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

Implementation

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