Result constructor

Result(
  1. String _text,
  2. List<int>? _rawBytes,
  3. List<ResultPoint?>? _resultPoints,
  4. BarcodeFormat _format, [
  5. int? timestamp,
])

Implementation

Result(
  this._text,
  this._rawBytes,
  this._resultPoints,
  this._format, [
  int? timestamp,
])  : _numBits = _rawBytes == null ? 0 : (8 * _rawBytes.length),
      _timestamp = timestamp ?? DateTime.now().millisecondsSinceEpoch;