writeLock method

Future<void> writeLock()

Locks the tag read-only.

Permanent and irreversible. On Android check NdefAndroid.canMakeReadOnly first -- not every tag supports locking, and iOS offers no way to ask.

Implementation

Future<void> writeLock() => nfcApi.ndefWriteLock(_handle);