instance property

GetAppsPlatform get instance

The default instance of GetAppsPlatform to use.

Defaults to GetAppsChannel.

Implementation

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

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

Implementation

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