selectFileById method

Future<Uint8List?> selectFileById({
  1. required Uint8List fileId,
  2. int p2 = 0,
  3. int cla = ISO7816_CLA.NO_SM,
  4. int ne = 0,
})

Selects MF, DF or EF by file ID. If fileId is null, then MF is selected. Can throw ICCError or ComProviderError.

Implementation

Future<Uint8List?> selectFileById({ required Uint8List fileId, int p2 = 0, int cla = ISO7816_CLA.NO_SM, int ne = 0 }) async {
  return await selectFile(cla: cla, p1: ISO97816_SelectFileP1.byID, p2: p2, data: fileId, ne: ne);
}