readSector static method

Future<Uint8List> readSector(
  1. int index
)

Read one sector from MIFARE Classic tag (Android Only)

There must be a valid session when invoking. index refers to the sector index. You must first authenticate against the corresponding sector. Note: not all sectors are 64B long, some tags might have 256B sectors. Returns data in Uint8List.

Implementation

static Future<Uint8List> readSector(int index) async {
  return await _channel.invokeMethod('readSector', {'index': index});
}