instance property

The default instance of FlutterKgoVnpayPlatform to use.

Defaults to MethodChannelFlutterKgoVnpay.

Implementation

static FlutterKgoVnpayPlatform get instance => _instance;
set instance (FlutterKgoVnpayPlatform instance)

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

Implementation

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