instance property

DeviceIdInfoPlatform get instance

The default instance of DeviceIdInfoPlatform to use.

Defaults to MethodChannelDeviceIdInfo.

Implementation

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

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

Implementation

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