SymbolInfo constructor

const SymbolInfo(
  1. bool _rectangular,
  2. int _dataCapacity,
  3. int _errorCodewords,
  4. int matrixWidth,
  5. int matrixHeight,
  6. int _dataRegions, [
  7. int? rsBlockData,
  8. int? rsBlockError,
])

Implementation

const SymbolInfo(
  this._rectangular,
  this._dataCapacity,
  this._errorCodewords,
  this.matrixWidth,
  this.matrixHeight,
  this._dataRegions, [
  int? rsBlockData,
  int? rsBlockError,
])  : _rsBlockData = rsBlockData ?? _dataCapacity,
      _rsBlockError = rsBlockError ?? _errorCodewords;