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