DefaultPlacement constructor

DefaultPlacement(
  1. String _codewords,
  2. int _numCols,
  3. int _numRows
)

Main constructor

@param codewords the codewords to place @param numcols the number of columns @param numrows the number of rows

Implementation

DefaultPlacement(this._codewords, this._numCols, this._numRows)
    : _bits = Uint8List.fromList(List.filled(_numCols * _numRows, 0xff));