instance property

The default instance of FlutterWindowsIapPlatform to use.

Defaults to MethodChannelFlutterWindowsIap.

Implementation

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

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

Implementation

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