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