instance property

StableDeviceIdPlatform get instance

The default instance of StableDeviceIdPlatform to use.

Defaults to MethodChannelStableDeviceId.

Implementation

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

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

Implementation

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