formatReadOnly method

Future<void> formatReadOnly(
  1. NdefMessage firstMessage
)

Formats the tag, writes firstMessage, and locks it.

Permanent: the tag can never be written again.

Implementation

Future<void> formatReadOnly(NdefMessage firstMessage) =>
    androidApi.ndefFormat(_handle, ndefMessageToWire(firstMessage), true);