instance property

VnPayPlatform instance

The default instance of VnPayPlatform to use.

Defaults to MethodChannelVnPay.

Implementation

static VnPayPlatform get instance => _instance;
void instance=(VnPayPlatform instance)

Platform-specific implementations should set this with their own platform-specific class that extends VnPayPlatform when they register themselves.

Implementation

static set instance(VnPayPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}