getDetectionResultColumns method

List<DetectionResultColumn?> getDetectionResultColumns()

Implementation

List<DetectionResultColumn?> getDetectionResultColumns() {
  _adjustIndicatorColumnRowNumbers(_detectionResultColumns[0]);
  _adjustIndicatorColumnRowNumbers(
    _detectionResultColumns[_barcodeColumnCount + 1],
  );
  int unadjustedCodewordCount = PDF417Common.MAX_CODEWORDS_IN_BARCODE;
  int previousUnadjustedCount;
  do {
    previousUnadjustedCount = unadjustedCodewordCount;
    unadjustedCodewordCount = _adjustRowNumbers();
  } while (unadjustedCodewordCount > 0 &&
      unadjustedCodewordCount < previousUnadjustedCount);
  return _detectionResultColumns;
}