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