write method

Future<void> write(
  1. NdefMessage message
)

Writes message to the tag.

Throws when the tag is read-only, or when the message is larger than maxSize.

Implementation

Future<void> write(NdefMessage message) => nfcApi.ndefWrite(_handle, ndefMessageToWire(message));