instance property

EmvnfcPlatform get instance

The default instance of EmvnfcPlatform to use.

Defaults to MethodChannelEmvnfc.

Implementation

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

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

Implementation

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