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