instance property

SipagPosPlatform get instance

The default instance of SipagPosPlatform to use.

Defaults to MethodChannelSipagPos.

Implementation

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

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

Implementation

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