instance property

The default instance of AuropayPaymentsPlatform to use.

Defaults to MethodChannelAuropayPayments.

Implementation

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

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

Implementation

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