instance property

The default instance of AllPaystackPaymentsPlatform to use.

Defaults to MethodChannelAllPaystackPayments.

Implementation

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

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

Implementation

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