instance property

DeviceImeiPlatform get instance

The default instance of DeviceImeiPlatform to use.

Defaults to MethodChannelDeviceImei.

Implementation

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

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

Implementation

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