instance property

MobileUniqueIdPlatform get instance

The default instance of MobileUniqueIdPlatform to use.

Defaults to MethodChannelMobileUniqueId.

Implementation

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

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

Implementation

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