instance property

AbcPayPlatform get instance

The default instance of AbcPayPlatform to use.

Defaults to MethodChannelAbcPay.

Implementation

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

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

Implementation

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