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