removeOnCardAbsentCallback method
void
removeOnCardAbsentCallback(
- void callback()
inherited
Removes a previously registered callback for when an RFID card is no longer present.
Use this method to clean up callbacks that should no longer be invoked when a card is removed from the reader's field.
Example:
reader.removeOnCardAbsentCallback(myCallbackFunction);
Implementation
void removeOnCardAbsentCallback(void Function() callback) {
_onCardAbsentCallbacks.remove(callback);
}