instance property

WindowsIapPlatform get instance

The default instance of WindowsIapPlatform to use.

Defaults to MethodChannelWindowsIap.

Implementation

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

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

Implementation

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