barcode property

String get barcode

Implementation

String get barcode {
  if (_categoryTag != null) {
    return '';
  }
  if (_product != null) {
    return _product!.barcode!;
  }
  if (_priceProduct != null) {
    return _priceProduct.code;
  }
  return _barcode!;
}