instance property
EmvNfcReaderPlatform
get
instance
The default instance of EmvNfcReaderPlatform to use.
Defaults to MethodChannelEmvNfcReader.
Implementation
static EmvNfcReaderPlatform get instance => _instance;
set
instance
(EmvNfcReaderPlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends EmvNfcReaderPlatform when they register themselves.
Implementation
static set instance(EmvNfcReaderPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}