instance property

AndroidCnOaidPlatform get instance

The default instance of AndroidCnOaidPlatform to use.

Defaults to MethodChannelAndroidCnOaid.

Implementation

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

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

Implementation

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