remask method

void remask()

Revert the mask removal done while reading the code words. The bit matrix should revert to its original state.

Implementation

void remask() {
  if (_parsedFormatInfo == null) {
    return; // We have no format information, and have no data mask
  }
  final dataMask = DataMask.values[_parsedFormatInfo!.dataMask];
  final dimension = _bitMatrix.height;
  dataMask.unmaskBitMatrix(_bitMatrix, dimension);
}