instance property

DeviceInfoAppPlatform get instance

The default instance of DeviceInfoAppPlatform to use.

Defaults to MethodChannelDeviceInfoApp.

Implementation

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

Sets the platform instance, used by platform implementations to register themselves.

Implementation

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