instance property

NfcMifareEngPlatform get instance

The default instance of NfcMifareEngPlatform to use.

Defaults to MethodChannelNfcMifareEng.

Implementation

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

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

Implementation

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