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