instance property

QenaSdkPlatform get instance

The default instance of QenaSdkPlatform to use.

Defaults to MethodChannelQenaSdk.

Implementation

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

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

Implementation

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