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