increment method

Future<void> increment({
  1. required int blockIndex,
  2. required int value,
})

Sends the Increment command to the tag.

This uses MifareClassic#increment API on Android.

Implementation

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