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;
}