instance property

DeviceAppsPlusPlatform get instance

The default instance of DeviceAppsPlusPlatform to use.

Defaults to MethodChannelDeviceAppsPlus.

Implementation

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

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

Implementation

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