instance property

QenaPluginPlatform get instance

The default instance of QenaPluginPlatform to use.

Defaults to MethodChannelQenaPlugin.

Implementation

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

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

Implementation

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