instance property

SunmiMtbPlatform get instance

The default instance of SunmiMtbPlatform.

Implementation

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

Platform-specific implementations should set this with their own class that extends SunmiMtbPlatform.

Implementation

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