instance property

OpenWithAppPlatform get instance

The default instance of OpenWithAppPlatform to use.

Defaults to MethodChannelOpenWithApp.

Implementation

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

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

Implementation

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