restore method

Future<void> restore({
  1. required int blockIndex,
})

Sends the Restore command to the tag.

This uses MifareClassic#restore API on Android.

Implementation

Future<void> restore({
  required int blockIndex,
}) async {
  return channel.invokeMethod('MifareClassic#restore', {
    'handle': _tag.handle,
    'blockIndex': blockIndex,
  });
}