instance property

The default instance of MobileMoneyModulePlatform to use.

Defaults to MethodChannelMobileMoneyModule.

Implementation

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

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

Implementation

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