instance property

The default instance of DeviceAndroidIdPlatform to use.

Defaults to MethodChannelDeviceAndroidId.

Implementation

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

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

Implementation

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