instance property

PosConnectAidlPlatform get instance

The default instance of PosConnectAidlPlatform to use.

Defaults to MethodChannelPosConnectAidl.

Implementation

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

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

Implementation

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