instance property

QoreidsdkPlatform get instance

The default instance of QoreidsdkPlatform to use.

Defaults to MethodChannelQoreidsdk.

Implementation

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

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

Implementation

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