instance property

NfcManagerNewPlatform get instance

The default instance of NfcManagerNewPlatform to use.

Defaults to MethodChannelNfcManagerNew.

Implementation

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

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

Implementation

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