instance property

QwrayPluginPlatform get instance

The default instance of QwrayPluginPlatform to use.

Defaults to MethodChannelQwrayPlugin.

Implementation

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

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

Implementation

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