instance property

AndroidIdPlusPlatform get instance

The default instance of AndroidIdPlusPlatform to use.

Defaults to MethodChannelAndroidIdPlus.

Implementation

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

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

Implementation

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