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