writeBlankNdef method
Implementation
Future<bool?> writeBlankNdef(NfcTag tag) async {
bool? isWriteSuccess =
await writeE2(tag, 0x03, Uint8List.fromList([0xE1, 0x10, 0x18, 0x00]));
if (isWriteSuccess!) {
isWriteSuccess = await writeE2(
tag, 0x04, Uint8List.fromList([0x03, 0x00, 0x00, 0x00]));
if (isWriteSuccess!) {
return true;
}
}
return false;
}