instance property

QsIosPurchasePlatform get instance

The default instance of QsIosPurchasePlatform to use.

Defaults to MethodChannelQsIosPurchase.

Implementation

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

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

Implementation

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