instance property

The default instance of DeviceContextPlusPlatform

Implementation

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

Sets a custom platform implementation

Implementation

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