instance property
PaystackManagerPackagePlatform
get
instance
The default instance of PaystackManagerPackagePlatform to use.
Defaults to MethodChannelPaystackManagerPackage.
Implementation
static PaystackManagerPackagePlatform get instance => _instance;
set
instance
(PaystackManagerPackagePlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends PaystackManagerPackagePlatform when they register themselves.
Implementation
static set instance(PaystackManagerPackagePlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}