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