DigitScannerState constructor

const DigitScannerState({
  1. @Default([]) List<GS1Barcode> barCodes,
  2. @Default([]) List<String> qrCodes,
  3. @Default(false) bool loading,
  4. @Default(false) bool duplicate,
})

Implementation

const factory DigitScannerState({
  @Default([]) List<GS1Barcode> barCodes,
  @Default([]) List<String> qrCodes,
  @Default(false) bool loading,
  @Default(false) bool duplicate,
}) = _DigitScannerState;