bulkEraseSingle method

Future<bool> bulkEraseSingle({
  1. required TransferType txType,
  2. required int txSubType,
  3. required String destination,
})

Implementation

Future<bool> bulkEraseSingle({
  required TransferType txType,
  required int txSubType,
  required String destination,
}) async {
  final result = await sendCommand<BulkEraseSingleResult>(
    BulkEraseSingleBleCommandTx(
      txType: txType,
      txSubType: txSubType,
      destination: destination,
    ),
  );

  if (result == null || result.hasErrors) {
    return false;
  }
  return true;
}