instance property
PurchasesFlutterUiPlatform
get
instance
The default instance of PurchasesFlutterUiPlatform to use.
Defaults to MethodChannelPurchasesFlutterUi.
Implementation
static PurchasesFlutterUiPlatform get instance => _instance;
set
instance
(PurchasesFlutterUiPlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends PurchasesFlutterUiPlatform when they register themselves.
Implementation
static set instance(PurchasesFlutterUiPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}