instance property

AptoideIapPlatform get instance

The default instance of AptoideIapPlatform to use.

Defaults to MethodChannelAptoideIap.

Implementation

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

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

Implementation

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